TX Text Control .NET for Windows Forms

What's New in TX Text Control .NET for Windows Forms 13.0

Topic

A vertical ruler bar joined the Windows Forms controls in TX Text Control .NET for Windows Forms 13.0, and all toolbars followed the color scheme of Windows. The version also let paragraphs control how they flow across pages, exported hypertext links to PDF, pasted HTML from the clipboard and extended the collections of text fields, links and targets.

Version 13.0 was released in October 2006, as the press release Press Release: TX Text Control 13.0 is Released announced.

Version 13.0 at a Glance

AreaWhat is new
Ruler barsA vertical ruler bar for page margins, headers and footers and table cells
Toolbar designButton bar, ruler bar and status bar in the Windows color scheme
ParagraphsA new paragraph dialog box, keep with next, keep lines together, page break before, widow and orphan control
PDFHypertext links and targets in exported PDF documents
ClipboardPasting HTML-formatted text
Fields and linksVisible hypertext targets, collections for fields, links, targets and page number fields
Input positionAn input position at the start or end of a text field

Vertical Ruler Bar

A vertical ruler bar lets users set the top and bottom page margins, the position and height of headers and footers and the height of table cells. RulerBar.Alignment switches a RulerBar from horizontal to vertical, and the Dock property of the control sets the direction automatically. TextControl.VerticalRulerBar connects the vertical ruler bar to a TextControl. See Rulers and Status Bar.

Toolbar Design

All toolbars support the color schemes that users select in the Windows settings. The buttons and the background of the button bar are shaded from light to dark, and the ruler bar and the status bar have one background color that depends on the color scheme. The ColorScheme setting of ButtonBar.ButtonStyle, ButtonBar.BorderStyle, RulerBar.BorderStyle and StatusBar.BorderStyle selects the design. See Themes, Colors, and Icons.

Paragraph Flow

A new dialog box for paragraph attributes, opened with TextControl.ParagraphFormatDialog, sets paragraph frames and the options that control how paragraphs are broken across pages. Four new properties of ParagraphFormat set the same options in code: KeepWithNext keeps a paragraph on the page of the next one, KeepLinesTogether keeps its lines together, PageBreakBefore starts it on a new page, and WidowOrphanLines sets the widow and orphan control. See Text and Paragraph Formatting.

Clipboard

The TextControl pastes text in HTML format from the clipboard. See Clipboard Operations.

Upgrade to Version 13.0

New Classes, Properties, Methods and Events

The classes and members below are the ones that the What's New documentation of version 13.0 lists for TX Text Control .NET for Windows Forms. 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 also names TextFieldCollection, HypertextLinkCollection, DocumentLinkCollection and DocumentTargetCollection as new classes, but ServerTextControl returned all four in version 12.0, and the update notes of 13.0 change the Remove method of three of them. It names RulerBar as a new class too, which version 11.0 had already redesigned. None of these is listed under New Classes.

New Classes

Members by Class

Next Steps