THotPDF.GetObjectFromStream Method
Reads object from stream information from the current document import and output state. Use the value to inspect parser results, shaping tables, resource availability, or diagnostic counters without mutating document output
Declaration
function GetObjectFromStream(ObjNum: Integer): THPDFDictionaryObject;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
ObjNum | Input used by GetObjectFromStream |
Return value
Returns a THPDFDictionaryObject value
Usage notes
- Use this API in the document import and output workflow before the affected page, resource, field, or catalog object is finalised
- Keep object names, field names, resource names, and returned handles stable until the document is finalised