ImageGear22.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDFPreflight Class : Convert Method |
'Declaration Public Function Convert( _ ByVal options As ImGearPDFPreflightConvertOptions _ ) As ImGearPDFPreflightReport
'Usage Dim instance As ImGearPDFPreflight Dim options As ImGearPDFPreflightConvertOptions Dim value As ImGearPDFPreflightReport value = instance.Convert(options)
public ImGearPDFPreflightReport Convert( ImGearPDFPreflightConvertOptions options )
public: ImGearPDFPreflightReport* Convert( ImGearPDFPreflightConvertOptions* options )
public: ImGearPDFPreflightReport^ Convert( ImGearPDFPreflightConvertOptions^ options )
If the document is converted successfully, or no conversion was applied 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.
If the document to convert contains images ImGearPDFPreflightConvertOptions.OutputIntentColorProfile should be initialized. Constructor of ImGearPDFPreflightConvertOptions initializes this property only if "ig_rgb_profile.icm" is placed in executable file directory. If this file is not placed in executable file directory user should initialize this property manually.
Conversion example can be found in description of ImGearPDFPreflight class.