GetObjectDecodeError

Miscellaneous functions

Description

This function can be used to determine if an error was encountered during decoding of the raw PDF object from the file.

Syntax

Delphi

function TPDFlib.GetObjectDecodeError(ObjectNumber: Integer): Integer;

ActiveX

Function PDFlib::GetObjectDecodeError(ObjectNumber As Long) As Long

DLL

int DLGetObjectDecodeError(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

0The object was decoded successfully
1The object could not be decoded