GetObjectDecodeError

雜項函式

描述

此函式可用來判斷從檔案解碼原始 PDF 物件時是否發生錯誤

語法

Delphi

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

ActiveX

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

DLL

int DLGetObjectDecodeError(int InstanceID, int ObjectNumber);

參數

ObjectNumber要取得的物件編號。第一個物件編號為 1,最後一個物件的編號等於 GetObjectCount 函式的傳回值

傳回值

0物件解碼成功
1無法解碼物件