THotPDF.DAGetPageCount Method
Provides the DAGetPageCount behavior for the page geometry workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics
Declaration
function DAGetPageCount(FileHandle: Integer): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
FileHandle | Input used by DAGetPageCount |
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