ImageGear Professional v18.2 > API Reference Guide > PDF Component API Reference > PDF Component Objects > General Objects > IGPDFPreflight Class > IGPDFPreflight Methods > VerifyCompliance Method |
Analyzes the PDF document the preflight that was created for and checks it for compliance with PDF/A and PDF/X standards. The result is returned as an IGPDFPreflightReport Class 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.
VerifyCompliance(Profile As enumIGPDFPreflightProfile,
StartPage As Long, PageCount As Long) As IGPDFPreflightReport
Name | Description |
---|---|
Profile | Preflight profile verify compliance with. |
StartPage | Document's start page to verify. |
PageCount | The number of pages to verify. Specify -1 to verify all pages. |
Result of verification as an IGPDFPreflightReport Class object.