DAGetObjectToString

Miscellaneous functions, Direct access functionality

Description

Returns the raw PDF object data for the specified object number. This is for advanced use only.

Syntax

Delphi

function TPDFlib.DAGetObjectToString(FileHandle, ObjectNumber: Integer): AnsiString;

ActiveX

Function PDFlib::DAGetObjectToString(FileHandle As Long, ObjectNumber As Long) As String

DLL

char * DLDAGetObjectToString(int InstanceID, int FileHandle, int ObjectNumber);

Parameters

FileHandleA handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions The number of the object to retrieve. The first object is numbered 1 and the last object has an object number equal to the result of the GetObjectCount function.
ObjectNumberint ObjectNumber);