THotPDF.AddPageRectilinearViewportEx Method
Adds page rectilinear viewport ex data to the page geometry workflow. The call creates or attaches the PDF-side object needed by later output, validation, signing, or page rendering steps
Declaration
function AddPageRectilinearViewportEx(PageIndex: Integer; const Name: AnsiString; Left, Bottom, Right, Top: Double; const Measure: THPDFRectilinearMeasureInfo): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based index or object index used to select an existing item |
Name | PDF resource name, packet name, profile name, or caller-defined identifier |
Left | Page coordinate or size value expressed in the current HotPDF coordinate space |
Bottom | Page coordinate or size value expressed in the current HotPDF coordinate space |
Right | Page coordinate or size value expressed in the current HotPDF coordinate space |
Top | Page coordinate or size value expressed in the current HotPDF coordinate space |
Measure | Input used by AddPageRectilinearViewportEx |
Return value
Returns an Integer value
Usage notes
- Use this API in the page geometry 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