Quick PDF logo

CheckFileCompliance

Document manipulation

Version history

This function was introduced in Quick PDF Library version 8.11.

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 TQuickPDF0815.CheckFileCompliance(InputFileName, Password: WideString; 
  ComplianceTest, Options: Integer): Integer;

ActiveX

Function QuickPDF0815.PDFLibrary::CheckFileCompliance(InputFileName As String,
  Password As String, ComplianceTest As Long, Options As Long) As Long

DLL

int QuickPDFCheckFileCompliance(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
Options For PDF/A compliance test:
0 = Show all errors
1 = Stop after the first error

Return values

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

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum