TX Text Control .NET for WPF

What's New in TX Text Control 11.0

Topic

Tables inside tables arrived with TX Text Control 11.0, together with a method that splits a table in two. The version also reduced the size of documents through image export settings and protected PDF documents with passwords.

Version 11.0 was released in April 2004 as TX Text Control .NET for Windows Forms 11.0, as the press release Press Release: TX Text Control .NET for Windows Forms 11.0 is Released announced. ServerTextControl didn't exist yet: it came with Version 12.0. TX Text Control .NET for WPF followed with Version 16.0; the classes below are part of the class library that the WPF TextControl and ServerTextControl use today. Features of the Windows Forms control, such as the multi-level undo buffer, the resource kit for localization, the ruler bar design, controls that grow and shrink with their text and transparent backgrounds, aren't listed here.

Version 11.0 at a Glance

AreaWhat is new
TablesNested tables at any level, splitting a table
ImagesResolution and compression quality of exported images
PDFUser and master passwords, access permissions
StylesNew styles based on existing ones

Tables

  • Nested tables. A table can contain other tables, without a limit on the nesting level, and all text filters load and save them. The Tables collection of a text contains its top-level and its nested tables in the order of the text flow. Table.NestedTables returns the tables inside a table, Table.NestedLevel its level, which is 1 for a top-level table, and Table.OuterTable and Table.OuterMostTable the tables around it.
  • Split a table. Table.Split splits a table above or below the row with the input position; Table.CanSplit tells whether that is possible. Both parts keep the identifier of the original table, and a TableCreated event occurs for the bottom part, so that it can get an identifier of its own. Splitting above the first row or below the last row inserts an empty line, which is how text is typed above or below a nested table that starts or ends at the edge of its cell.
  • Table collections. TableBaseCollection is the base class of the table collections.

Tables and Calculations shows how to work with tables today.

Images and PDF

Upgrade to Version 11.0

  • Style constructors. InlineStyle and ParagraphStyle have an additional constructor that creates a new style from an existing one and copies all its attributes.

New Classes, Properties, Methods and Events

The classes and members below are the ones that the What's New documentation of version 11.0 lists for TX Text Control .NET for WPF. 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