TPDFlibComplianceReportAction

資料類型、合規性

描述

選取某次分派呼叫所指的合規報告。此值作為 Action 參數,隨 TPDFlibComplianceReportRun 回呼傳遞。

TPDFlib 為建立與儲存預檢及驗證報告宣告公用方法與一個受保護的分派方法。版次類別以回呼提供實作,此值告訴回呼是哪個公用方法在呼叫。純 TPDFlib 實例不提供,因此呼叫會傳回文件記載的空結果,並把 LastErrorCode 設為 PDFLIB_ERROR_ENTERPRISE_REQUIRED。應用程式碼永遠不必傳遞此型別的值。

語法

Delphi

type TPDFlibComplianceReportAction = (craPreflight, craPreflightEx, craValidation, craSavePreflight, craSavePreflightEx, craSaveValidation);

值

craPreflight以字串傳回的純文字預檢報告;即 CreatePreflightReport 背後的作業
craPreflightEx以字串傳回所選格式的預檢報告;即 CreatePreflightReportEx 背後的作業
craValidation以字串傳回的結構化驗證報告;即 CreateValidationReport 背後的作業
craSavePreflight寫入檔案的純文字預檢報告;即 SavePreflightReport 背後的作業
craSavePreflightEx以所選格式寫入檔案的預檢報告;即 SavePreflightReportEx 背後的作業
craSaveValidation寫入檔案的結構化驗證報告;即 SaveValidationReport 背後的作業

另請參閱

TPDFlibComplianceReportRun、TPDFlibComplianceReportResult、CreatePreflightReport、SaveValidationReport