PdfDocument Object : ConvertToPdfA Method |
Apply operations to convert a PDF document while satisfying PDF/A-1b compliance. Automatic fix-ups are applied if possible, conversion failure is raised as an exception.
Note: PDF/A compliance is not guaranteed if changes are made to the PDF document after conversion has succeeded.
Visual Basic |
---|
Public Sub ConvertToPdfA( _ ByVal options As ConvertOptions _ ) |
Apply ISO 19005-1:2005 restrictions and prohibitions to convert a candidate PDF document to PDF/A.
If the candidate PDF document violates a restriction or prohibition, PDF Xpress may attempt to apply an automatic fix-up to satisfy compliance. If a detected violation is not fixed, then the conversion process will raise an exception that describes the nature of the failure.
PDF Xpress PDF/A conversion support is limited to new image-only PDFs. Image-only PDFs lack searchable text content, but require only honoring a subset of PDF/A-1b compliance rules. Consequently, converting a candidate PDF document to PDF/A-1b is guaranteed to fail if any of the following is true—
PDF/A compliance is not guaranteed if changes are made to the PDF document after conversion has succeeded.
Refer to ISO 19005-1:2005 Document management — Electronic document file format for long-term preservation — Part 1: Use of PDF 1.4 (PDF/A-1)
Specify a well-formed ICC profile using either a filename or a local memory buffer. The ICC profile filename will be ignored if a local memory buffer is provided.