GetObjectToString

Miscellaneous functions

Description

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

Syntax

Delphi

Function TPDFlib.GetObjectToString(ObjectNumber: Integer): AnsiString;

DLL

const char* DLGetObjectToString(int InstanceID, int ObjectNumber);

Parameters

ObjectNumberThe 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.

Return values

Returns the raw PDF source of the object with the given object number.