THotPDF.ConfigurePortfolio Method
Creates or updates the document catalogue /Collection dictionary
Declaration
procedure ConfigurePortfolio(const Name: AnsiString;
const View: AnsiString = 'D';
const InitialDocument: AnsiString = '');
Parameters
| Name | Purpose |
|---|---|
Name | Kept around for source compatibility and ignored: ISO 32000-2, Table 153, defines no /Name entry for the collection dictionary, and any earlier non-standard /Name is removed |
View | D (details), T (tiles), H (hidden) or C (navigator) initial view; C requires a /Navigator dictionary, so call SetPortfolioNavigatorMetadata first or the call raises |
InitialDocument | Embedded-file name selected when the portfolio opens (/D) |
Usage notes
- Requires PDF 1.7 and follows the document version-lock policy
- The initial document should match an EmbeddedFiles name-tree key
- View
Cis a PDF 2.0 feature (Adobe Extension Level 3 in PDF 1.7); on a 1.7 document the method declares/Extensions /ADBEwith/BaseVersion /1.7and/ExtensionLevel 3automatically