ImageGear .NET v25.2 - Updated
VerifyCompliance Method




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDFPreflight Class : VerifyCompliance Method
Preflight profile with which compliance is being verified.
The first page of the document to analyze.
The number of pages to verify. Specify -1 to verify all pages.
Analyzes the PDF document and determines whether the preflight was created in compliance with PDF/A and PDF/X standards.
Syntax
'Declaration
 
Public Function VerifyCompliance( _
   ByVal profile As ImGearPDFPreflightProfile, _
   ByVal startPage As Integer, _
   ByVal pageCount As Integer _
) As ImGearPDFPreflightReport
'Usage
 
Dim instance As ImGearPDFPreflight
Dim profile As ImGearPDFPreflightProfile
Dim startPage As Integer
Dim pageCount As Integer
Dim value As ImGearPDFPreflightReport
 
value = instance.VerifyCompliance(profile, startPage, pageCount)
public ImGearPDFPreflightReport VerifyCompliance( 
   ImGearPDFPreflightProfile profile,
   int startPage,
   int pageCount
)
public: ImGearPDFPreflightReport* VerifyCompliance( 
   ImGearPDFPreflightProfile profile,
   int startPage,
   int pageCount
) 
public:
ImGearPDFPreflightReport^ VerifyCompliance( 
   ImGearPDFPreflightProfile profile,
   int startPage,
   int pageCount
) 

Parameters

profile
Preflight profile with which compliance is being verified.
startPage
The first page of the document to analyze.
pageCount
The number of pages to verify. Specify -1 to verify all pages.

Return Value

Result of the verification as an ImGearPDFPreflightReport class object.
Remarks
The result is returned as an ImGearPDFPreflightReport object.

If the document is compliant with the specified profile, the output report's code value is equal to ImGearPDFPreflightReportCodes.SUCCESS.

If the document is not compliant, the output report's code value is equal to ImGearPDFPreflightReportCodes.INCOMPLIANT_DOCUMENT and its Records property will have a complete report of noncompliances.

See Also

Reference

ImGearPDFPreflight Class
ImGearPDFPreflight Members
ImGearPDFPreflightReport Class
ImGearPDFPreflightProfile Enumeration

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