THotPDF.AddLoadedPagePieceInfo Method
Writes a page-piece dictionary (PDF 1.7 14.5) under /PieceInfo/<ApplicationName> with application-specific key/value pairs and a /LastModified date stamp
Declaration
procedure AddLoadedPagePieceInfo(PageIndex: Integer; const ApplicationName: AnsiString; const KeysAndValues: array of AnsiString);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based index of the loaded page that receives the page-piece entry |
ApplicationName | Application dictionary key created or replaced under /PieceInfo |
KeysAndValues | Flat array of alternating key and value strings written into the application dictionary |
Return value
This member returns no value
Usage notes
- Use this API to carry private per-page metadata such as OPI, trapping or imposition state
- A /LastModified date stamp is written automatically alongside the supplied pairs