THotPDF.RegisterTilingPattern Method
Registers a reusable tiling pattern resource for the graphics and colour management workflow. Call it before page commands reference the resource name so colour, pattern, font, image, or profile data is available in the PDF resource tree
Declaration
function RegisterTilingPattern(BBoxLLx, BBoxLLy, BBoxURx, BBoxURy: Single; XStep, YStep: Single; const Content: AnsiString; Colored: boolean= True) : AnsiString;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
BBoxLLx | Input used by RegisterTilingPattern |
BBoxLLy | Input used by RegisterTilingPattern |
BBoxURx | Input used by RegisterTilingPattern |
BBoxURy | Input used by RegisterTilingPattern |
XStep | Input used by RegisterTilingPattern |
YStep | Input used by RegisterTilingPattern |
Content | Input used by RegisterTilingPattern |
Colored | Color component or color value used by the painting or resource operation |
Return value
Returns an AnsiString 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