New Properties, Methods and Events

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

Properties

Property Description
TXTextControl.TXStatusBar.ShowColumn Specifies whether the status bar shows the column number of the current text input position.
TXTextControl.TXStatusBar.ShowLine Specifies whether the status bar shows the line number of the current text input position.
TXTextControl.TXStatusBar.ShowPage Specifies whether the status bar shows the page number of the current text input position.
TXTextControl.TXStatusBar.ShowPageCounter Specifies whether the status bar shows the number of pages in the document.
TXTextControl.TXStatusBar.ShowSection Specifies whether the status bar shows the section number of the current text input position.
TXTextControl.TXStatusBar.ShowSectionCounter Specifies whether the status bar shows the number of sections in the document.
TXTextControl.TXStatusBar.TextPageCounter Returns or sets the text which appears in front of the page counter.
TXTextControl.TXStatusBar.TextSection Returns or sets the text which appears in the Section field in front of the section number.
TXTextControl.TXStatusBar.TextSectionCounter Returns or sets the text which appears in front of the section counter.
TXTextControl.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.TXTextControl.PageOrientation Returns or sets the page orientation, portrait or landscape.
TXTextControl.TXTextControl.PageViewStyle Defines the kind of view to display the page background.
TXTextControl.TXTextControl.SectionAtInputPos Returns the number of the section containing the current text input position.
TXTextControl.TXTextControl.SectionBreakKind Returns or sets the kind of the section break the section starts with.
TXTextControl.TXTextControl.SectionCount Returns the number of sections, the document contains.
TXTextControl.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.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.TXTextControl.SectionInsert Inserts a section break at the text input position or at a specified position.

Events

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