THPDFPage.ProjectX Method
Provides project x 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
function ProjectX(X: Single): Single;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
X | Page coordinate or size value expressed in the current HotPDF coordinate space |
Return value
Returns a Single 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