New Properties, Methods and Events

In TX Text Control 14.0 the following new properties, methods and events have been added:

Properties

Property Description
TXStatusBar.ShowColumn Specifies whether the status bar shows the column number of the current text input position.
TXStatusBar.ShowLine Specifies whether the status bar shows the line number of the current text input position.
TXStatusBar.ShowPage Specifies whether the status bar shows the page number of the current text input position.
TXStatusBar.ShowPageCounter Specifies whether the status bar shows the number of pages in the document.
TXStatusBar.ShowSection Specifies whether the status bar shows the section number of the current text input position.
TXStatusBar.ShowSectionCounter Specifies whether the status bar shows the number of sections in the document.
TXStatusBar.TextPageCounter Returns or sets the text which appears in front of the page counter.
TXStatusBar.TextSection Returns or sets the text which appears in the Section field in front of the section number.
TXStatusBar.TextSectionCounter Returns or sets the text which appears in front of the section counter.
TXTextControl.HeaderFooterConnectedToPrevious This property returns or sets a value specifying whether a header or footer is connected with the header or footer of the previous section.
TXTextControl.PageOrientation Returns or sets the page orientation, portrait or landscape.
TXTextControl.PageViewStyle Defines the kind of view to display the page background.
TXTextControl.SectionAtInputPos Returns the number of the section containing the current text input position.
TXTextControl.SectionBreakKind Returns or sets the kind of the section break the section starts with.
TXTextControl.SectionCount Returns the number of sections, the document contains.
TXTextControl.SectionCurrent Returns or sets the section number for the following properties and methods: PageWidth, PageHeight, PageMarginL, PageMarginT, PageMarginR, PageMarginB, PageOrientation, HeaderFooter, HeaderFooterActivate, HeaderFooterSelect, HeaderFooterPosition, HeaderFooterConnectedToPrevious, Columns, PageBorderAttribute, ColumnDistance, ColumnLineWidth, ColumnLineColor, ColumnWidthsAndDistances, SectionRestartPageNumbering, and SectionBreakKind.

Methods

Method Description
TXTextControl.SectionFormatDialog This method invokes the built-in dialog box to set page settings and to design the headers and footers either for the whole document or for a single section.
TXTextControl.SectionInsert Inserts a section break at the text input position or at a specified position.

Events

Event Description
TXTextControl.PageChanged Occurs when the text input position has been moved to another page.
TXTextControl.SectionChanged Occurs when the text input position has been moved to another section.