THPDFPage.SetFillPatternRGB Method
Sets fill pattern rgb state for subsequent graphics and colour management output. The setting affects later page drawing, page dictionary entries, conformance metadata, or text emission rather than already-written content
Declaration
procedure SetFillPatternRGB(const PatternName: AnsiString; R, G, B: Single);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PatternName | PDF resource name, packet name, profile name, or caller-defined identifier |
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 colour management workflow before the affected page, resource, field, or catalog 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
- Page-level changes affect subsequent operators on the same page; save and restore graphics state when a temporary setting should not leak