THotPDF.GetLoadedMaxObjectNumber Method
Returns the maximum object number recorded in the cross-reference table of the loaded PDF document
Declaration
function GetLoadedMaxObjectNumber: Integer;
Unit
HPDFDoc
Return value
| Name | Purpose |
|---|---|
| This member takes no explicit parameters | |
Return value
Returns an Integer value
Usage notes
- The maximum object number usually equals the trailer's Size value minus one and gives you a feel for how many objects the document holds
- This value includes the number of free objects; the actual number of usable objects may be less than this value
- When used in conjunction with GetLoadedObjectByIndex, the index range should be between 0 and the return value of this method