THotPDF.DAGetObjectCount Method
Gets the maximum number of object numbers in the PDF document associated with the current direct access file handle.
Declaration
function DAGetObjectCount(FileHandle: Integer): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
FileHandle | File handle opened in direct-access mode |
Return values
Returns the maximum number of objects indexed in the current PDF cross-reference table.
Usage
- Call: THotPDF.DAGetObjectCount
- Used to iterate or check the total number of existing objects in the file under direct access mode.