TX Text Control .NET for WPF is a royalty-free, fully programmable rich edit control that offers developers a broad range of word processing features in a reusable component for Visual Studio. It provides comprehensive text formatting, powerful mail merge features and all word processing key concepts such as table support, images, headers and footers and page sections.
Add comprehensive WYSIWYG word processing to your own applications with in minutes.
Text Control Reporting combines the power of a reporting tool and an easy-to-use WYSIWYG word processor - fully programmable and embeddable in your WPF application.
Based on MS Word compatible report templates, mail merge and table reports, master-detail, side-by-side and sub-reports can be created. Nested repeating blocks with master-detail relationship views can be easily inserted. It doesn't matter what's repeated in the block: A table row, paragraphs, images or text frames. There are no limits.
Data sources can be hierarchical data such as related DataTables, DataSets and all kinds of IEnumerable objects.
Import Adobe PDF Documents
TX Text Control is able to import "born digital" PDF documents, so that you can view, edit or convert these files. The PDF document is imported and can be modified just like any other format such as DOC or DOCX. The fully featured API can be used to change the content or to search on the document.
Import and edit PDF files for which the original word processing source files are missing and reuse its content.
MS Word Compatible File Formats
TX Text Control .NET for WPF supports a wide range of word processing formats (RTF, DOC, DOCX, HTML, XML, PDF) and image file formats (GIF, PNG, JPG, BMP, WMF, EMF, TIF).
Convert and modify different document types to a standardized style or merge various document types into one unified document. Provide your users an option to modify MS Word documents and to create Adobe PDF documents right in your application.
What's New in Version X14?
Our Biggest Release Ever
Including all platforms, with 131 new classes, 119 new properties, 84 new methods and 23 new events, X14 is the biggest release ever.
Inspired by the feedback of thousands of developers, we built a new version of TX Text Control that combines innovation and consistency.
We're changing the way you look at reporting.
A complete paragraph and the paragraph frames can now be colored. The dialog boxes and ribbon tabs have been designed to adjust these settings using a flawless user experience.
Data Source Manager
The new Reporting ribbon tab is based on the new public class DataSourceManager that encapsulates the complete handling, logic and ready-to-use dialog boxes for the reporting template creation task.
JSON Data Source Support
JSON data is now supported directly by MailMerge and the new DataSourceManager. The JSON data can contain either a single object or an array of equally structured objects.
Zoom to Page, Zoom to Text
Zoom to whole page, zoom to text and zoom to page width are new out-of-the-box options when zooming in TX Text Control. The ribbon tab and the modernized status bar can be used to adjust the new zoom options.
Encrypted PDF Import
Text Control PDF import now supports encrypted files. A PDF may be encrypted, and may optionally be protected by a user password and an owner password. TX Text Control handles encryption internally and provides methods and events to implement a required workflow to acquire the respective passwords from the user, and to restrict access to certain operations, like printing or editing, if the passwords are not specified or do not match.
User-Defined Document Properties
Custom properties can be created to store additional information about the document in the document itself. These properties remain with a document and can be viewed by all MS Word users that open the document. Several property management servers provide data tracking capabilities to search for, sort, and track documents based on document properties.
Using TX Text Control X14, custom properties can be set and retrieved using the SaveSettings and LoadSettings parameter in the Load and Save methods.
The InsertMergeBlockDialog class allows the user to design and insert a merge block based on the currently selected master table in the new DataSourceManager. It is inserted at the current input position of a given Text Control instance. This new dialog helps you to design your own custom template designer to create templates that are compatible to the MailMerge class.
New Mail Merge Events
In order to manipulate the merge process and to inject custom logic, each merge element such as merge fields and merge blocks fire events. These events return the merged field, information about the location of a field and provide access to data that is used to merge the document.
In these events, a DataRowAdapter provides access to the DataTableAdapter which gains access to the child table names, column names, the DataTable, the data rows and the table name. Additionally, the new FieldMergedEventArgs property MergeBlockName returns the block name in case the field is embedded in a merge block.