THotPDF.GetObjectType Method

Reads from a stream and detects the specific data type of the next PDF object.

Declaration

function GetObjectType(ObjStream: TStream; UseIndirect: boolean): THPDFObjectType;

Unit

HPDFDoc

Parameters

NamePurpose
ObjStreamObject holding the PDF data stream
UseIndirectFlag controlling whether indirect objects are resolved

Return values

Returns the detected PDF object type enumeration value.

Usage

See also