PDF/A Converter

The Documentize PDF/A Converter for .NET is a powerful tool designed to convert PDF documents into the PDF/A format, ensuring that your content remains compliant with long-term archiving standards. This plugin also supports validating existing PDF documents for PDF/A compliance, offering both conversion and validation features in a single solution.

How to Convert PDF to PDF/A

To convert a PDF document into PDF/A format, follow these steps:

  1. Create an instance of PdfAConvertOptions to configure the conversion.
  2. Specify the desired PDF/A version (e.g., PDF/A-3B).
  3. Add the input PDF file using the AddInput method.
  4. Add the output file for the resulting PDF/A using the AddOutput method.
  5. Call the Process method to execute the conversion.
 1var pdfAOptions = new PdfAConvertOptions
 2{
 3    PdfAVersion = PdfAStandardVersion.PDF_A_3B
 4};
 5
 6// Add the input PDF file
 7pdfAOptions.AddInput(new FileDataSource(@"C:\Samples\input.pdf"));
 8
 9// Specify the output PDF/A file
10pdfAOptions.AddOutput(new FileDataSource(@"C:\Samples\output_pdfa.pdf"));
11
12// Process the conversion
13PdfAConverter.Process(pdfAOptions);

Validating PDF/A Compliance

You can validate existing PDF files for PDF/A compliance using the PdfAValidateOptions class.

 1var validationOptions = new PdfAValidateOptions
 2{
 3    PdfAVersion = PdfAStandardVersion.PDF_A_1A
 4};
 5
 6// Add the PDF file to be validated
 7validationOptions.AddInput(new FileDataSource(@"C:\Samples\input.pdf"));
 8
 9// Run the validation process
10var resultContainer = PdfAConverter.Process(validationOptions);
11
12// Check the validation result
13var validationResult = (PdfAValidationResult)resultContainer.ResultCollection[0].Data;
14Console.WriteLine("PDF/A Validation Passed: " + validationResult.IsValid);

Batch Processing for PDF/A Conversion

This plugin supports batch processing, allowing you to convert or validate multiple PDF files for PDF/A compliance at once.

 1var pdfAOptions = new PdfAConvertOptions
 2{
 3    PdfAVersion = PdfAStandardVersion.PDF_A_3B
 4};
 5
 6// Add multiple input PDFs
 7pdfAOptions.AddInput(new FileDataSource(@"C:\Samples\file1.pdf"));
 8pdfAOptions.AddInput(new FileDataSource(@"C:\Samples\file2.pdf"));
 9
10// Specify output files for the converted PDF/As
11pdfAOptions.AddOutput(new FileDataSource(@"C:\Samples\file1_pdfa.pdf"));
12pdfAOptions.AddOutput(new FileDataSource(@"C:\Samples\file2_pdfa.pdf"));
13
14// Process the batch conversion
15PdfAConverter.Process(pdfAOptions);

Key Features:

  • Convert to PDF/A: Seamlessly transform PDF files into the PDF/A format (such as PDF/A-1a, PDF/A-2b, PDF/A-3b) to ensure compliance with archiving standards.
  • Validate PDF/A Compliance: Check existing PDF documents for conformance with PDF/A standards and identify issues if they do not comply.
  • Batch Processing: Process multiple files at once for conversion or validation.
  • Efficient Workflow: Minimize time and effort with fast and reliable conversion processes.
 English