CheckFileCompliance

Document manipulation

Description

This function tests a PDF document against various standards to determine compliance with the standard.

This function is currently under development and currently runs only a small subset of possible tests.

Syntax

Delphi

function TPDFlib.CheckFileCompliance(Const InputFileName, Password: WideString; ComplianceTest, Options: Integer): Integer;

ActiveX

Function PDFlib::CheckFileCompliance(InputFileName As String, Password As String, ComplianceTest As Long, Options As Long) As Long

DLL

int DLCheckFileCompliance(int InstanceID, wchar_t * InputFileName, wchar_t * Password, int ComplianceTest, int Options);

Parameters

InputFileNameThe file to check
PasswordThe password to open the file. If there is no password an empty string should be used.
ComplianceTest1 = PDF/A compliance test For PDF/A compliance test: 0 = Show all errors 1 = Stop after the first error
Options

Return values

0The file passed the compliance test.
Non-zeroA StringListID that can be used with the GetStringListCount and GetStringListItem functions.