THPDFPage.Canvas Property
Controls the canvas setting used by the page drawing workflow. Set it before the related page, document, or resource output is written so the generated PDF records the intended state
Declaration
property Canvas: TCanvas read GetCanvas;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
| This member does not expose explicit parameters | |
Return value
Returns the current value of the Canvas property
Usage notes
- Use this API in the page drawing 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
- Page-level changes affect subsequent operators on the same page; save and restore graphics state when a temporary setting should not leak