TX Text Control 16.0: New TextPartCollection
TX Text Control 16.0 adds the TextPartCollection, a meta collection that iterates text parts across headers, footers, text frames, and the main body in a single loop. Using IFormattedText, developers access ApplicationFields in every document area without writing separate iterations.

TX Text Control .NET for WPF 16.0 and TX Text Control .NET for Windows Forms 16.0 come with a new collection: Text
Consider the following application: A document template consists of ApplicationFields in the main text, in headers and footers and in several text frames. And you want to replace the text in all of these fields. With previous versions, you had to iterate through all sections, it's contained headers and footers and throught all text frames separately. Now, just one loop is required to get access to all ApplicationFields:
foreach (object obj in textControl1.TextParts)
{
foreach (ApplicationField field in ((IFormattedText)obj).ApplicationFields)
{
field.Text = "New text";
}
}
It's that easy. The IFormattedText interface contains properties and methods common to all text parts in a TX Text Control document like in this case the ApplicationFieldCollection. Test it on your own and download a trial version today:
TX Text Control Trial VersionsRelated Posts
TX Sheet Control 2.0 Is Now Available: Spreadsheets and Dashboards for Your…
Today, we are proud to officially release TX Sheet Control 2.0. The newest member of the Text Control product family brings Excel-compatible spreadsheet editing, a powerful calculation engine,…
ASP.NET CoreASP.NET MVCDocument Viewer
TX Text Control ASP.NET MVC Document Viewer 34.5.1
TX Text Control ASP.NET MVC Document Viewer 34.5.1. Review the changes from 34.5.0, including in-process processing, signing completion hooks, viewer API migrations, annotation updates, and server…
TX Text Control 34.0 SP5 is Now Available: What's New in the Latest Version
TX Text Control 34.0 Service Pack 5 is now available, offering important updates and bug fixes for all platforms. If you use TX Text Control in your document processing applications, this service…
TX Text Control 34.0 SP4 is Now Available: What's New in the Latest Version
TX Text Control 34.0 Service Pack 4 is now available, offering important updates and bug fixes for all platforms. If you use TX Text Control in your document processing applications, this service…
TX Spell .NET 11.0 SP1 is Now Available: What's New in the Latest Version
TX Spell .NET 11.0 Service Pack 1 is now available, offering important updates and bug fixes for all platforms. If you use TX Spell .NET in your document processing applications, this service pack…

