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 LongDLL
int DLGetObjectDecodeError(int InstanceID, int ObjectNumber);Parameters
| ObjectNumber | 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. |
|---|
Return values
| 0 | The object was decoded successfully |
|---|---|
| 1 | The object could not be decoded |