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.
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);
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.