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 LongDLL
int DLCheckFileCompliance(int InstanceID, wchar_t * InputFileName, wchar_t * Password, int ComplianceTest, int Options);Parameters
| InputFileName | The file to check |
|---|---|
| Password | The password to open the file. If there is no password an empty string should be used. |
| ComplianceTest | 1 = PDF/A compliance test For PDF/A compliance test: 0 = Show all errors 1 = Stop after the first error |
| Options |
Return values
| 0 | The file passed the compliance test. |
|---|---|
| Non-zero | A StringListID that can be used with the GetStringListCount and GetStringListItem functions. |