Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
This page explains how Aspose.Words converts documents to PDF/A and PDF/UA formats, outlining supported compliance levels and conversion specifics.
PDF is a fixed page format that is very popular among users and is widely supported by various applications, as a PDF document looks the same on any device. For this reason, converting to PDF is an important feature of Aspose.Words.
PDF is a complex format by itself, as it has a specific file structure, graphical model, font embedding, and some complex output functionality such as document structure tags, encryption, digital signatures, and editable forms. In addition, converting a document to PDF requires several calculation stages, which are complex and time‑consuming.
In the following articles, we will consider the main problems that may arise when working with documents in various PDF standards and describe options for solving them.
Aspose.Words now allows users to work with PDF/A-1, PDF/A-2 and PDF/A-4 formats, as well as PDF/UA-1:
PDF/A is an ISO-standardized version of PDF intended for use in archiving and long‑term storage of electronic documents. At the same time, PDF/UA is another ISO standardized version of PDF designed to ensure accessibility for people with disabilities who use assistive technology. To specify the level of compliance with PDF standards, use the Compliance property. Due to storage conditions, PDF/A document must embed all fonts and disable encryption, while PDF/UA must only embed all fonts.
In this section, we will take a closer look at working with PDF/A or PDF/UA-1 documents.
To learn more about the different PDF standards, check the following ISOs:
Q: How do I convert a document to PDF/A‑2 using Aspose.Words for .NET?
A: Create a PdfSaveOptions object, set its Compliance property to PdfCompliance.PdfA2b (or PdfA2a/PdfA2u depending on the required level), and pass the options to the Document.Save method. Example:
Document doc = new Document("input.docx");
PdfSaveOptions options = new PdfSaveOptions();
options.Compliance = PdfCompliance.PdfA2b;
doc.Save("output.pdf", options);
Q: What are the main differences between PDF/A‑1, PDF/A‑2 and PDF/A‑4 compliance levels?
A: PDF/A‑1 forbids transparency, certain compression methods, and requires all fonts to be embedded. PDF/A‑2 relaxes these restrictions, allowing transparency, layer effects, and OpenType font embedding. PDF/A‑4 introduces revised conformance levels: “U” (unrestricted) aligns with earlier versions, while the “A” level has been removed, simplifying the standard.
Q: How can I ensure the generated PDF/A file complies with font‑embedding and encryption requirements?
A: Set options.Compliance to the desired PDF/A level; Aspose.Words automatically embeds all used fonts. To avoid encryption, do not set any password or encryption options on the PdfSaveOptions. If you previously set a password, clear it before saving.
Q: Is there anything extra I need to do to create a PDF/UA‑1 compliant document?
A: Use PdfSaveOptions.Compliance = PdfCompliance.PdfUAX (or the appropriate enum value for PDF/UA‑1). Ensure the source document contains proper heading styles, alt text for images, and language attributes, because PDF/UA requires a fully tagged PDF. Aspose.Words will generate the required tags when the compliance is set.
Q: Does the Aspose.Words license affect PDF/A or PDF/UA conversion?
A: No. The license controls feature availability (e.g., removing evaluation watermarks) but does not change how compliance levels are applied. As long as the library is licensed, you can use any supported PDF/A or PDF/UA compliance option without restrictions.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.