THotPDF.AllocLoadedObjectNumber Method
Allocates and returns a number for a newly loaded object.
Declaration
function AllocLoadedObjectNumber: Integer;
Unit
HPDFDoc
Return values
| Name | Purpose |
|---|---|
| This member takes no explicit parameters | |
Return value
Returns an Integer value
Usage
- Use this API in the document creation workflow before the affected page, resource, field or catalogue object is finalised
- Keep object names, field names, resource names and returned handles stable until the document is finalised
- Call this method to obtain a unique number when dynamically creating or loading PDF objects