THPDFPage.SetTextMatrix Method
Sets text matrix state for subsequent page drawing output. The setting affects later page drawing, page dictionary entries, conformance metadata, or text emission rather than already-written content
Declaration
procedure SetTextMatrix(A, B, C, D, X, Y: Single);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
A | Input used by SetTextMatrix |
B | Color component or color value used by the painting or resource operation |
C | Color component or color value used by the painting or resource operation |
D | Input used by SetTextMatrix |
X | Page coordinate or size value expressed in the current HotPDF coordinate space |
Y | Page coordinate or size value expressed in the current HotPDF coordinate space |
Return value
This member does not return a value
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