THPDFPortfolioSortKey Record
Names one portfolio sort column and its direction for the collection /Sort dictionary
Declaration
THPDFPortfolioSortKey= record
Key: AnsiString;
Ascending: boolean;
end;
Unit
HPDFDoc
Fields
| Field | Purpose |
|---|---|
Key | Name of a portfolio schema field written as the /S name entry; must pass the portfolio key validity check |
Ascending | Sort direction written as the /A boolean entry; true for ascending order |
Usage notes
- Pass an array of these records to
SetPortfolioSortOrder; an empty array removes the/Sortentry from the collection - With a single key the
/Sand/Aentries are written directly; with several keys they become parallel arrays in the order supplied - An invalid key name raises
EArgumentExceptionbefore the collection is modified