THPDFPage.SetPieceInfo Method
Sets PieceInfo state for subsequent page drawing output. The setting affects later page drawing, page dictionary entries, conformance metadata or text emission rather than content already written
Declaration
procedure SetPieceInfo(const ApplicationName: AnsiString; const PrivateData: AnsiString; const KeysAndValues: array of AnsiString; const LastModifiedDate: AnsiString= '');
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
ApplicationName | PDF resource name, packet name, profile name or caller-defined identifier |
PrivateData | Raw byte payload embedded or validated by this API |
KeysAndValues | Input supplied to SetPieceInfo |
LastModifiedDate | Input supplied to SetPieceInfo |
Return value
This member does not return a value
Usage notes
- Use this API in the page drawing workflow before the affected page, resource, field or catalogue object is finalised
- Keep object names, field names, resource names and returned handles stable until the document is finalised
- Page-level changes affect subsequent operators on the same page; save and restore graphics state when a temporary setting should not leak