We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Trusted by the world’s leading companies

Overview

The Syncfusion Essential PDF is a .NET PDF library that allows you to transform regular PDF documents into PDF/A, a specialized ISO-standardized format designed for long-term archiving and preservation of electronic documents. This conversion ensures that the resulting PDF/A files adhere to specific standards, such as embedding fonts and preserving document structure, to guarantee their reliability over time.

The PDF to PDF/A conversion feature works seamlessly on various platforms: WinForms, WPF, Blazor, ASP.NET MVC, ASP.NET Core, UWP, Xamarin with Windows, Linux, and MacOS.


How to Convert PDF to PDF/A in C#

  1. Install the Syncfusion.Pdf.Imaging.Net.Core NuGet package to your project.
  2. Create FileStream objects to represent the input PDF files.
  3. Create a PdfLoadedDocument object by passing the FileStream object.
  4. Convert the loaded document to PDF/A document.
  5. Save the PdfDocument object to the FileStream object.

Here is an example of PDF to PDF/A conversion in C# using the Syncfusion PDF library. You can convert PDF to PDF/A with just a few lines of code. 

//Load an existing PDF document 
    FileStream docStream = new FileStream("Input.pdf", FileMode.Open, FileAccess.Read); 

    PdfLoadedDocument loadedDocument = new PdfLoadedDocument(docStream); 

    //Convert the loaded document to PDF/A document 
    loadedDocument.ConvertToPDFA(PdfConformanceLevel.Pdf_A1B); 

    //Save the document into a filestream object. 
    using (FileStream outputFileStream = new FileStream("Output.pdf", FileMode.Create, FileAccess.Write)) 
    { 
        //Save the generated PDF document to the output file stream 
        loadedDocument.Save(outputFileStream); 
    } 

    //Close the document. 
    loadedDocument.Close(true);




Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Scroll up icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon