Preview: PDF.js Support for Form Fields, Selections and Annotations
We are working on new features for the Document Viewer and it's PDF.js support including filling out form fields, selecting and finding text and annotations. This article gives an overview of some of the upcoming features.

With version 31.2.2 of the Document Viewer, we released support for PDF.js as a PDF renderer. We are working on additional features for this integration to provide the same level of support for all PDF documents as for the other supported document formats.
Learn more
PDF.js is a JavaScript library maintained by Mozilla and other individual contributors. In the latest version of the TX Text Control Document Viewer, we introduced the ability to enable external renderers such as PDF.js to provide document rendering information.
Use PDF.js to Render PDF Documents within the Document Viewer
Text Selections
In the next release, the Document Viewer will support text selections from PDF documents rendered with PDF.js. The selection will be integrated with the same look and feel as other documents, so you can use one viewer to deploy your TX Text Control, MS Word, or PDF documents. Selected text can of course be copied to the local clipboard.
The Find method will also support the contents of loaded PDF documents:
Annotations
An advantage of the TX Text Control Document Viewer is the way annotations are stored externally using JSON and can be applied to all supported formats, not just PDF. Annotations, including text highlighting based on selections, are also supported for PDF documents.
Form Field Support
The next release will fully support the import of form fields that are part of PDF documents, allowing users to fill in document forms of existing PDF documents. This will allow you to provide users with all methods of form delivery, including MS Word compatible forms and PDF forms.
The completed document can be downloaded or generated as a PDF with the form field values filled in. This, in turn, can be imported using classes in the server-side, non-UI Document
Stay tuned for more!
ASP.NET
Integrate document processing into your applications to create documents such as PDFs and MS Word documents, including client-side document editing, viewing, and electronic signatures.
- Angular
- Blazor
- React
- JavaScript
- ASP.NET MVC, ASP.NET Core, and WebForms
Related Posts
Building an ASP.NET Core Backend (Linux and Windows) for the Document Editor…
This article shows how to create a backend for the Document Editor and Viewer using ASP.NET Core. The backend can be hosted on Windows and Linux and can be used in Blazor, Angular, JavaScript, and…
Building an ASP.NET Core Backend Application to Host the Document Editor and…
This article explains how to create an ASP.NET Core backend application to host the Document Editor and Document Viewer. This backend application is required to provide the required functionality…
Customizing Electronic Signature Fonts for Typed Signatures in Angular and…
This article shows how to customize the electronic signature fonts for typed signatures in Angular and ASP.NET Core. It explains how to use custom fonts for the signature appearance and how to…
ASP.NETASP.NET CoreDocument Viewer
Use PDF.js to Render PDF Documents within the Document Viewer
With the release of the latest release candidate of the Document Viewer, we released the ability to use PDF.js to render PDF documents. This article shows how to use this new feature.
ASP.NETASP.NET CoreDocument Viewer
Feature Announcement: Enabling External PDF Renderer PDF.js in TX Text…
We are working on a feature that supports the enabling of external document renderers such as PDF.js to render PDF documents. This article gives a quick overview of the possibilities.