Exporting Documents As an ISO-standardized PDF/A Document
TX Text Control 15.0 added native PDF/A export for ISO-compliant long-term document archiving. To produce valid output, ViewMode must be set to PageView, FontSettings.EmbeddableFontsOnly enabled, and Save called. Unsupported fonts are substituted automatically via an event callback.

With TX Text Control 15.0, we introduced PDF/A export functionality. PDF/A is a format that has been created and standardized for long-term archiving of electronic documents. Using TX Text Control, you don't need separate third-party software, printer driver or an additional component module.
TX Text Control is your ALL-IN-ONE word processing component that doesn't consist of separate components developed by different companies or teams. You'll get everything from the same vendor in order to integrate word processing very smoothly.
What is a PDF/A Document?
The created PDF must be 100% self-contained. That implies that all information that is required to render the PDF must be embedded. That includes all used fonts of the document. TX Text Control provides a special PDF/A edit mode, so that users are only able to pick the supported fonts from the drop down box in the button bar. Not every font can be embedded using PDF/A for a couple of reasons: The license of the font forbids embedding or a device dependent font is used.
Additionally, TX Text Control is able to substitute unsupported fonts automatically and it provides an event where you can replace the fonts based on your own logic. Only this way guarantees a smooth export to this special Adobe PDF format.
Furthermore, audio and video content, encryption, Javascript and executable code is not allowed. The PDF/A standard is based on the PDF Reference Version 1.4 from Adobe Systems Inc. and has been published as an ISO standard on October 1, 2005.
How to Create a PDF/A Document Using TX Text Control?
Generally, you can simply use the Save method to export a valid PDF/A document. TX Text Control's FontSettings must be adjusted in order to allow only embeddable fonts to be used. If the document already contains not embeddable fonts and the FontSettings.AdaptFontEvent property has been set to true, an event is fired for each not supported font. All fonts can be replaced automatically, so that a valid PDF/A can be exported easily. If you start typing a new document with the goal of exporting it as PDF/A, the following steps or settings are required:
- The TextControl's ViewMode property must be set PageView.
- FontSettings.EmbeddableFontsOnly must be set to true.
- Save the document using TextControl.Save.
Conclusion: Using TX Text Control, creating PDF/A documents is as easy as exporting DOCX, DOC or RTF documents. No third-party software is required.
Related Posts
Using QR Codes in PDF Documents in C# .NET
QR codes are a powerful tool for embedding machine-readable information in documents. In this article, we will explore how to generate and insert them into PDF documents using C# .NET with TX Text…
Programmatically Fill, Flatten, and Export DOCX Form Templates to PDF in C# .NET
Learn how to fill, flatten and export DOCX form templates to PDF programmatically in C# .NET. This article provides a step-by-step guide on how to use the TX Text Control library to achieve this,…
ASP.NETASP.NET CoreE-Invoicing
Why Structured E-Invoices Still Need Tamper Protection using C# and .NET
ZUGFeRD, Factur-X, German e-invoicing rules, and how to seal PDF invoices with TX Text Control to prevent tampering. Learn how to create compliant e-invoices with C# and .NET.
Create Fillable PDFs from HTML Forms in C# ASP.NET Core Using a WYSIWYG Template
Learn how to generate PDFs from HTML forms in ASP.NET Core using a pixel-perfect WYSIWYG template. Extract form fields from a document, render a dynamic HTML form, and merge the data server-side…
Why HTML to PDF Conversion is Often the Wrong Choice for Business Documents…
In this article, we explore the challenges of HTML to PDF conversion for business documents in C# .NET and present alternative solutions that offer better performance and reliability. Discover why…
