 
            This function analyzes the PDF document the preflight was created and checks it for compliance with PDF/A and PDF/X standards.
| 
                        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
);
 | |
| 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. | 
Error count.
This function does not process image pixels.
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.