TX Text Control ActiveX Documentation

New Properties, Methods and Events

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

Properties

PropertyDescription
TXStatusBar.ShowColumnSpecifies whether the status bar shows the column number of the current text input position.

TXStatusBar.ShowLineSpecifies whether the status bar shows the line number of the current text input position.

TXStatusBar.ShowPageSpecifies whether the status bar shows the page number of the current text input position.

TXStatusBar.ShowPageCounterSpecifies whether the status bar shows the number of pages in the document.

TXStatusBar.ShowSectionSpecifies whether the status bar shows the section number of the current text input position.

TXStatusBar.ShowSectionCounterSpecifies whether the status bar shows the number of sections in the document.

TXStatusBar.TextPageCounterReturns or sets the text which appears in front of the page counter.

TXStatusBar.TextSectionReturns or sets the text which appears in the Section field in front of the section number.

TXStatusBar.TextSectionCounterReturns or sets the text which appears in front of the section counter.

TXTextControl.HeaderFooterConnectedToPreviousThis property returns or sets a value specifying whether a header or footer is connected with the header or footer of the previous section.

TXTextControl.PageOrientationReturns or sets the page orientation, portrait or landscape.

TXTextControl.PageViewStyleDefines the kind of view to display the page background.

TXTextControl.SectionAtInputPosReturns the number of the section containing the current text input position.

TXTextControl.SectionBreakKindReturns or sets the kind of the section break the section starts with.

TXTextControl.SectionCountReturns the number of sections, the document contains.

TXTextControl.SectionCurrentReturns or sets the section number for the following properties and methods: PageWidth, PageHeight, PageMarginL, PageMarginT, PageMarginR, PageMarginB, PageOrientation, HeaderFooter, HeaderFooterActivate, HeaderFooterSelect, HeaderFooterPosition, HeaderFooterConnectedToPrevious, Columns, ColumnDistance, ColumnLineWidth, ColumnLineColor, ColumnWidthsAndDistances, and SectionBreakKind.

Methods

MethodDescription
TXTextControl.SectionFormatDialogThis 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.SectionInsertInserts a section break at the text input position or at a specified position.

Events

EventDescription
TXTextControl.PageChangedOccurs when the text input position has been moved to another page.

TXTextControl.SectionChangedOccurs when the text input position has been moved to another section.