We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Export PDF with PDF/UA compliance using C#

For a project we need to create PDF files from Word documents. Due to the need of our governments, we need to make all these PDF files accessible using «PDF/UA».
The highest accessibility level supported seems to be «PDF/A-1b». Does Aspose support «PDF/UA» exports, are there any plans to support this in the near future or will such a feature never be available?

Here a few additional information about our specific need:

  1. We have word documents used for templating. These documents can consist of simple text, images, tables, and more. All additional metadata like title of document and alternative text for images (which is needed for PDF/UA) will be provided by the template creator.
  2. These templates will be filled with the document data (basically search and replace of placeholders) and a watermark is added to the document (if document is prevew only)
  3. Then we will export this documents as PDF (likely using PDF/UA). Our endusers will only be able to view the generated PDF files

As already mentioned, we need PDF/UA accessibility. We used the following Tool to check if the generated PDF is accessible:

Using a simple test document with text, a table and an image the tool reports the following errors:

  • Path object not tagged
  • Figure element on a single page with no bounding box
  • PDF/UA identifier missing

The watermark has been created using the source of the following page: https://docs.aspose.com/words/net/add-watermark/
The export code is really simple:

document.BuiltInDocumentProperties.Title = "Document title"; // Fixes «dc:title» entry missing in document's XMP metadata
var pdfOptions = new PdfSaveOptions
    Compliance = PdfCompliance.PdfA1a,
    DisplayDocTitle = true // Fixes DisplayDocTitle key is not set to true

document.Save(fileName, pdfOptions);

Thank you for your help


Thanks for your query and details.

Your query seems to be related to Aspose.Words API, so I am moving your thread to Aspose.Words forum. One of my fellow colleagues from Aspose.Words team will help you soon.


Thanks for your inquiry. Unfortunately, Aspose.Words does not support PdfCompliance PDF/UA. However, we logged this feature request as WORDSNET-6614 in our issue tracking system. You will be notified via this forum thread once this feature is available. We apologize for your inconvenience.

You can achieve your other requirements e.g. replacing placeholders with data, adding watermark into document etc. Please refer to the following articles.
Find and Replace
Working with Watermark

Please let us know if you have any more queries.

A post was split to a new topic: Support of PdfCompliance PDF/UA

2 posts were split to a new topic: Support of PdfCompliance PDF/UA

The issues you have found earlier (filed as WORDSNET-6614) have been fixed in this Aspose.Words for .NET 22.1 update also available on NuGet.