CheckFilePDFUAComplianceA

Compliance, DLL

Requires the Enterprise edition — in Delphi, C++Builder and Lazarus code create the library as TPDFlibEnterprise (unit PDFlibEnterprise); the Enterprise DLL and ActiveX builds provide it unchanged; other editions keep the method, which returns 0, an empty string or False and sets LastErrorCode to 900 (PDFLIB_ERROR_ENTERPRISE_REQUIRED)

Description

Audits a PDF file against an explicit PDF/UA reader profile through the DLL narrow-string convention; see CheckFilePDFUACompliance

Syntax

Delphi

Function DLCheckFilePDFUAComplianceA(InstanceID: Integer; InputFileName, Password: PAnsiChar; TargetPart, Options: Integer): Integer; Stdcall;

DLL

int DLCheckFilePDFUAComplianceA(int InstanceID, const char* InputFileName, const char* Password, int TargetPart, int Options);

Return values

Returns an issue-list handle, or 0 when the implemented checks pass or the audit cannot start; inspect LastErrorCode before treating zero as success and release every nonzero handle with ReleaseStringList

Remarks

Input strings are decoded with the instance ANSI-to-wide conversion configuration; use the wide entry point to pass Unicode independently of that configuration

See also

CheckFilePDFUACompliance, GetPDFUAReadValidationCoverageJSON, RunPDFUAValidationPipelineTask