THotPDF.GetObjectType Method
Reads object type information from the current document creation state. Use the value to inspect parser results, shaping tables, resource availability, or diagnostic counters without mutating document output
Declaration
function GetObjectType(ObjStream: TStream; UseIndirect: boolean): THPDFObjectType;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
ObjStream | Stream instance used as the source or destination for byte data |
UseIndirect | Input used by GetObjectType |
Return value
Returns a THPDFObjectType value
Usage notes
- Use this API in the document creation 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