Converting Word documents to PDF/UA
Converting Word documents to PDF/UA gives you fixed-layout output that meets accessibility requirements. PDF/UA (ISO 14289) defines the structure and metadata that assistive technologies, such as screen readers, rely on to interpret a document.
Use this workflow when you need to:
- Preserve layout across devices and viewers
- Distribute files without Word-version dependencies
- Generate accessible output for compliance use cases
Prepare the project
Register the SDK license before running conversion operations. For setup details, refer to the getting started with .NET SDK guide.
using GdPicture14;
LicenseManager license = new LicenseManager();license.RegisterKEY("");Create the document converter
Instantiate GdPictureDocumentConverter:
using GdPictureDocumentConverter converter = new GdPictureDocumentConverter();Load the Word document
Load the source DOCX file:
converter.LoadFromFile(@"input.docx");Convert to PDF/UA
Save the loaded document as PDF/UA-1 by passing the target conformance to SaveAsPDF:
converter.SaveAsPDF(@"output.pdf", PdfConformance.PDF_UA_1);The converter generates tagged structure, reading order, and the metadata required for PDF/UA conformance.
Conclusion
This workflow converts a Word document to a PDF/UA-1 file so assistive technologies can interpret document structure and content.