ImageGear for C and C++ on Windows v20.3 - Updated
IG_PDF_preflight_verify_compliance
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_PREFLIGHT > IG_PDF_preflight_verify_compliance

This function analyzes the PDF document the preflight was created and checks it for compliance with PDF/A and PDF/X standards.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_preflight_verify_compliance(
        HIG_PDF_PREFLIGHT hPreflight,
        AT_UINT Profile,
        AT_INT nStartPage,
        AT_INT nPageCount,
        LPHIG_PDF_PREFLIGHT_REPORT lphPreflightReport
);

Arguments:

Name Type Description
hPreflight HIG_PDF_PREFLIGHT Preflight object.
Profile AT_UINT Preflight profile with which to verify compliance.
nStartPage AT_INT Document's start page to verify.
nPageCount AT_INT The number of pages to verify. Specify -1 to verify all pages.
lphPreflightReport HIG_PDF_PREFLIGHT_REPORT Result of verification as an HIG_PDF_PREFLIGHT_REPORT object.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

The result is returned as an HIG_PDF_PREFLIGHT_REPORT object.

If the document is compliant with the specified profile the output report's code value is equal to IG_PDF_PREFLIGHT_SUCCESS. If it is not compliant, the output report's code value is equal to IG_PDF_PREFLIGHT_INCOMPLIANT_DOCUMENT and its records' tree will have a complete report of noncompliances.

Is this page helpful?
Yes No
Thanks for your feedback.