THPDFPage.SetFillPatternRGB Method
Method summary: THPDFPage.SetFillPatternRGB Method
Declaration
procedure SetFillPatternRGB(const PatternName: AnsiString; R, G, B: Single);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PatternName | Name |
R | Colour |
G | Colour |
B | Colour |
Return value
Returns no value
Usage notes
- R, G and B are finite tint components from zero through one; small nonzero values retain fractional precision beyond two decimal places
- After the existing PDF version check succeeds, non-finite components raise EConvertError before registering pattern resources or changing the page colour space
- Call: THPDFPage.SetFillPatternRGB
- Stable
- Colour
- Page-level changes affect subsequent operators on the same page; save and restore graphics state when a temporary setting should not leak