THotPDF.SetPortfolioColor Method
Sets portfolio color state for subsequent graphics and color management output. The setting affects later page drawing, page dictionary entries, conformance metadata, or text emission rather than already-written content
Declaration
procedure SetPortfolioColor(const Element: AnsiString; R, G, B: Double);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Element | Input used by SetPortfolioColor |
R | Color component or color value used by the painting or resource operation |
G | Color component or color value used by the painting or resource operation |
B | Color component or color value used by the painting or resource operation |
Return value
This member does not return a value
Usage notes
- Use this API in the graphics and color management workflow before the affected page, resource, field, or catalog object is finalized
- Keep object names, field names, resource names, and returned handles stable until the document is finalized
- Register named color resources before using them from page-level painting commands