THotPDF.ExtractRawObjectFromStream Method

Provides the ExtractRawObjectFromStream behavior for the document import and output workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics

Declaration

function ExtractRawObjectFromStream(StreamIndex, ObjectIndex: Integer): AnsiString;

Unit

HPDFDoc

Parameters

NamePurpose
StreamIndexStream instance used as the source or destination for byte data
ObjectIndexZero-based index or object index used to select an existing item

Return value

Returns an AnsiString value

Usage notes

Related APIs