THPDFPage.ProjectX Method
Performs projection conversion on the page's horizontal X coordinate.
Declaration
function ProjectX(X: Single): Single;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
X | The original horizontal logical coordinate |
Return values
Returns the converted PDF physical coordinate.
Usage
- Call: THPDFPage.ProjectX
- Maps the X-axis value in the user coordinate system to an absolute coordinate within the document during drawing operations.
- Page-level changes affect subsequent operators on the same page; save and restore graphics state when a temporary setting should not leak