THPDFPage.ExtTextOut Method
Provides the ExtTextOut behavior for the page drawing workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics
Declaration
procedure ExtTextOut(X, Y: Single; angle: Extended; Text: PWORD; TextLength: Integer; const Dx: array of Single); overload;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
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 |
angle | Input used by ExtTextOut |
Text | Input used by ExtTextOut |
TextLength | Input used by ExtTextOut |
Dx | Distance from each character's origin to the next one, in page units. The characters land exactly at these positions: the current character spacing, word spacing and horizontal scaling do not move them further. There is one entry per UTF-16 code unit; a character outside the Basic Multilingual Plane takes two entries, and it advances by their sum |
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