THotPDF.SetPortfolioItemMetadata Method
Associates a schema value with one embedded FileSpec through its /CI dictionary
Declaration
procedure SetPortfolioItemMetadata(const FileName, Key,
Value: AnsiString; const Prefix: AnsiString = '');
Parameters
| Name | Purpose |
|---|---|
FileName | EmbeddedFiles name-tree key |
Key | Previously registered collection schema key |
Value | Stored collection-item value |
Prefix | Optional viewer display prefix |
Usage notes
- The embedded file and schema field must exist before this call
- Calling the method again overwrites the value for the same file and key