DetectFacturXInvoice
文件屬性
說明
本頁介紹 PDFlibPas 中屬於「文件屬性」主題的 DetectFacturXInvoice。API 名稱、參數、類別名稱、檔案名稱和字面值保持原樣,以便和 Delphi 函式庫及 DLL 進入點完全對應。
呼叫函式前請查看語法、參數和傳回值。程式碼區塊保留原始形式,便於範例直接複製使用。
語法
Delphi
Function TPDFlib.DetectFacturXInvoice: Integer;
傳回值
| 0 | 此值說明 DetectFacturXInvoice 的呼叫結果。通常非零值表示成功,0 表示操作未完成。 |
|---|---|
| 1 | 此值說明 DetectFacturXInvoice 的呼叫結果。通常非零值表示成功,0 表示操作未完成。 |
備註
呼叫函式前請查看語法、參數和傳回值。程式碼區塊保留原始形式,便於範例直接複製使用。
呼叫函式前請查看語法、參數和傳回值。程式碼區塊保留原始形式,便於範例直接複製使用。 GetFacturXInvoiceInfo
範例
// Check whether the loaded PDF carries invoice XML
begin
if PDF.DetectFacturXInvoice = 1 then
InvoiceFileName := PDF.GetFacturXInvoiceInfo(1);
end;
另請參閱
GetFacturXInvoiceInfo, ValidateFacturXInvoice, ExtractFacturXXMLToString