TX Text Control ActiveX Documentation

Sections and Pages

Properties

PropertyDescription
TXTextControl.ColumnDistanceSets the distance, in twips, between the columns on a page for the whole document or for a document's section.

TXTextControl.ColumnLineColorReturns or sets the color of a dividing line between two page columns, either for the whole document or for a certain section. The SectionCurrent property determines the part of the document.

TXTextControl.ColumnLineWidthReturns or sets the width, in twips, of a dividing line between two page columns, either for the whole document or for a certain section. The SectionCurrent property determines the part of the document.

TXTextControl.ColumnsReturns or sets the number of columns on a page for the whole document or for a document's section.

TXTextControl.ColumnWidthsAndDistancesReturns or sets the number of columns on a page including its widths and distances for the whole document or for a document's section.

TXTextControl.PageHeightReturns or sets the height of the page for the whole document or for a document's section.

TXTextControl.PageMarginBReturns or sets the bottom page margin for the whole document or for a document's section.

TXTextControl.PageMarginLReturns or sets the left page margin for the whole document or for a document's section.

TXTextControl.PageMarginRReturns or sets the right page margin for the whole document or for a document's section.

TXTextControl.PageMarginTReturns or sets the top page margin for the whole document or for a document's section.

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

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

TXTextControl.PageWidthReturns or sets the width of the page for the whole document or for a document's section.

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.PageFormatChangeOccurs when the page format settings have been changed.

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