THotPDF.SetPortfolioColors Method
Sets the portfolio colours state for subsequent document creation output. The setting affects later page drawing, page dictionary entries, conformance metadata or text emission rather than content already written
Declaration
procedure SetPortfolioColors(const Colors: THPDFCollectionColorsInfo);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Colors | Colour component or colour value used by the painting or resource operation |
Return value
This member does not return a value
Usage notes
- Use this API in the document creation 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
- Register named colour resources before using them from page-level painting commands