TX Text Control .NET for WPF

What's New in TX Text Control .NET for WPF 17.0

Topic

Tables received the most attention in TX Text Control 17.0: cells can be merged, split and named, whole columns selected and each cell border colored. Beyond tables, the version added page borders, PDF documents signed with a certificate and a connection to the new TX Spell .NET, with a spell checking dialog box in the WPF TextControl.

Version 17.0 was released in November 2011, together with TX Spell .NET 2.0, then a new product, as the press release Press Release: TX Text Control 17.0 and TX Spell .NET 2.0 Released announced.

Version 17.0 at a Glance

AreaWhat is new
TablesColumn selection, merged and split cells, named cells, colored cell borders
Page bordersBorders around the pages of a section
PDFDigital signatures with an X.509 certificate
Spell checkingThe TX Spell .NET component, a dialog box and a context menu for misspelled words
SelectionsA transparent selection, or the classic inverted one
HTMLImport with the parsing rules of HTML5

Tables

Tables and Calculations shows how to work with tables in the current version.

Page Borders

The pages of a section can have a border. SectionFormat.PageBorder takes a PageBorder object that defines the top, left, right and bottom line, each with its own width, color and distance. The distance is measured from the edge of the page or, with MeasureFromText, from the text. SurroundHeader and SurroundFooter include the header and the footer, and FirstPageOnly and OmitFirstPage limit the border to the first page or leave it out there. The page settings dialog box lets users define a page border. See Sections, Pages, Headers, and Footers.

Digital Signatures

PDF and PDF/A documents can be signed with an X.509 certificate, which, according to the press release, can come from a PFX, DER or Base64 CER file, from raw data or from the local certificate store. SaveSettings.DigitalSignature takes a DigitalSignature object, which holds the certificate and the other data needed to sign the file when it is saved. Digital Signatures covers signing in the current version.

Spell Checking and Selections

  • TX Spell .NET. WPF.TextControl.SpellChecker connects the TX Spell .NET component, which is activated with IsSpellCheckingEnabled. It handles the SpellCheckText event internally, finds misspelled words and offers a context menu with corrections when a user right-clicks one. ServerTextControl.SpellChecker connects it without a user interface.
  • Spell checking dialog box. SpellCheckDialog opens a dialog box that corrects the misspelled words of the document. See Spell Checking and Hyphenation.
  • Selections. Selected text is shown with a transparent blue bitmap. SelectionViewMode switches back to the classic view, which inverts the text.
  • HTML import. The HTML import filter parses documents with the rules of the W3C specification of HTML5.

Upgrade to Version 17.0

Version 17.0 has no update notes.

New Classes, Properties, Methods and Events

The classes and members below are the ones that the What's New documentation of version 17.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. The version's own list names Table and TableCellFormat as new classes, but both existed before: Table.Select dates from version 10.1, and TableRow.CellFormat returned a TableCellFormat in version 12.0, so neither is listed under New Classes.

New Classes

Members by Class

Next Steps