TX Text Control .NET Server

What's New in TX Text Control 14.0

Topic

Version 14.0 is where several parts of today's TX Text Control began: document sections, the DOCX format, MS Word fields as ApplicationField objects and the MailMerge class. It also appended documents to each other, described the pages of a document and ran on 64-bit systems.

Version 14.0 was released in January 2008 for the server and the client products, as the press release Press Release: TX Text Control 14.0 is Released announced. Features of the Windows Forms control, such as the Page Setup dialog box and the section display in the status bar, aren't listed here.

Version 14.0 at a Glance

AreaWhat is new
PlatformA 64-bit edition
SectionsPage size, margins and headers and footers per section
DOCXLoading and saving the WordprocessingML format
FieldsMS Word fields and Heiler HighEdit fields as ApplicationField objects
Mail mergeThe DocumentServer.MailMerge class
Documents and pagesAppending documents, page coordinates, a formatting printer, background printing

Platform

TX Text Control is available as a 64-bit edition. All kernel and filter DLLs support 64-bit memory addresses and have the same file names in both editions, and the class library is platform independent.

Sections and Headers and Footers

DOCX and Fields

Mail Merge

The DocumentServer.MailMerge class merges templates with data in .NET projects such as ASP.NET web applications, web services and Windows services. It uses a ServerTextControl, set with TextComponent, and fields of the type ApplicationField.

MailMerge introduces the class as it is today.

Documents and Pages

  • Append documents. ServerTextControl.Append loads a document from a file, a byte array or a string and appends it to the end of the current document, optionally as a new paragraph or a new section.
  • Page coordinates. ServerTextControl.GetPages returns a PageCollection. Because pages can have different sizes, each Page gives its Bounds and TextBounds, its first character and number of characters, its section and its NumberInSection. See Pages.
  • Formatting printer. ServerTextControl.FormattingPrinter names the printer the document is formatted for, so that the printed document has the dimensions of the formatted one. The formatting device can also be the display.
  • Background printing. An application can add its own PrintPageEventHandler to a PrintDocument to print images or watermarks on a page. The content of a ServerTextControl is then printed transparently on top. See Printing.

Upgrade to Version 14.0

  • HeaderFooterCollection.Style. The property was replaced with the properties HeaderFooterActivationStyle and HeaderFooterFrameStyle of the Windows Forms TextControl. They set how a header or footer is activated and framed in the editor, which ServerTextControl doesn't show.

New Classes, Properties, Methods and Events

The classes and members below are the ones that the What's New documentation of version 14.0 lists for TX Text Control .NET Server. Names are relative to the TXTextControl namespace, each name links to its current reference page, and "(obsolete)" marks a member that is obsolete today.

New Classes

Members by Class

Next Steps

  • Version 15.0: the features of the next version.
  • Version 13.0: paragraph flow, hyperlinks in PDF and the field collections.
  • Sections: divide documents into sections.