How to Export PDF/UA Format Documents in C#

by Chaknith Bin

IronPDF allows you to export PDFs to the PDF/UA standard, ensuring accessibility for individuals with disabilities. PDF/UA follows specific guidelines, including support for assistive technologies like screen readers. By complying with PDF/UA, your PDF documents meet the accessibility requirements set by Section 508 of the Rehabilitation Act.

Beyond accessibility, PDF/UA offers benefits such as text reflow on small screens, improved navigation options, customizable text appearance, enhanced search engine functionality, and efficient text selection and copying.

C# NuGet Library for PDF

Install with NuGet

Install-Package IronPdf

Download DLL

Download DLL

Manually install into your project

Export PDF/UA Document Example

To export a PDF document in PDF/UA compliance format, you can use the SaveAsPdfUA method. Simply import the PDF document and use this method to export it as a PDF/UA file. Consider the PDF document shown below. You can use the accompanying code to export it as a PDF/UA file.

Input file: "wikipedia.pdf"


using IronPdf;

// Open PDF File
PdfDocument pdf = PdfDocument.FromFile("wikipedia.pdf");

// Export as PDF/UA compliance PDF
VB   C#


The output file is PDF/UA compliant:

PDF/UA compliant

Please note
Exporting a newly rendered PDF from an HTML string, file, or web URL is not currently supported.

Chaknith Bin

Software Engineer

Chaknith is the Sherlock Holmes of developers. It first occurred to him he might have a future in software engineering, when he was doing code challenges for fun. His focus is on IronXL and IronBarcode, but he takes pride in helping customers with every product. Chaknith leverages his knowledge from talking directly with customers, to help further improve the products themselves. His anecdotal feedback goes beyond Jira tickets and supports product development, documentation and marketing, to improve customer’s overall experience.When he isn’t in the office, he can be found learning about machine learning, coding and hiking.