THPDFActionBuilder.GoToPage Method
Provides go to page behavior for the PDF action builder workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics
Declaration
class function GoToPage(PageIndex: Integer; FitMode: THPDFDestinationFitMode= dfmFit; Left: Single= 0; Top: Single= 0; Right: Single= 0; Bottom: Single= 0; Zoom: Single= 0): THPDFActionBuilder;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based index or object index used to select an existing item |
FitMode | Input used by GoToPage |
Left | 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 |
Right | 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 |
Zoom | Input used by GoToPage |
Return value
Returns a THPDFActionBuilder value
Usage notes
- Use this API in the PDF action builder 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