Sections and Pages

Properties

Property Description
TXTextControl.TXTextControl.ColumnDistance Sets the distance, in twips, between the columns on a page for the whole document or for a document's section.
TXTextControl.TXTextControl.ColumnLineColor Returns or sets the color of a dividing line between two page columns, either for the whole document or for a certain section.
TXTextControl.TXTextControl.ColumnLineWidth Returns or sets the width, in twips, of a dividing line between two page columns, either for the whole document or for a certain section.
TXTextControl.TXTextControl.Columns Returns or sets the number of columns on a page for the whole document or for a document's section.
TXTextControl.TXTextControl.ColumnWidthsAndDistances Returns 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.TXTextControl.PageBorderAttribute This property returns or sets page border attributes for the whole document or for a document's section.
TXTextControl.TXTextControl.PageCount Returns the number of pages, the document contains.
TXTextControl.TXTextControl.PageHeight Returns or sets the height of the page for the whole document or for a document's section.
TXTextControl.TXTextControl.PageImage Returns an image of the specified page which can be used with the Picture property of a Form object, PictureBox control or Image control.
TXTextControl.TXTextControl.PageLength Gets the number of characters of the page, including the page break character at the end of the page.
TXTextControl.TXTextControl.PageMarginB Returns or sets the bottom page margin for the whole document or for a document's section.
TXTextControl.TXTextControl.PageMarginL Returns or sets the left page margin for the whole document or for a document's section.
TXTextControl.TXTextControl.PageMarginR Returns or sets the right page margin for the whole document or for a document's section.
TXTextControl.TXTextControl.PageMarginT Returns or sets the top page margin for the whole document or for a document's section.
TXTextControl.TXTextControl.PageOrientation Returns or sets the page orientation, portrait or landscape.
TXTextControl.TXTextControl.PageStart Gets the number (one-based) of the page's first character.
TXTextControl.TXTextControl.PageViewStyle Defines the kind of view to display the page background.
TXTextControl.TXTextControl.PageWidth Returns or sets the width of the page for the whole document or for a document's section.
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.
TXTextControl.TXTextControl.SectionLength Gets the number of characters in the section.
TXTextControl.TXTextControl.SectionRestartPageNumbering Returns or sets a value specifying whether page numbering is restarted at the beginning of a document section.
TXTextControl.TXTextControl.SectionStart Gets the number (one-based) of the section's first character.

Methods

Method Description
TXTextControl.TXTextControl.PageSelect This method can be used to select the specified page.
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.
TXTextControl.TXTextControl.SectionSelect This method can be used to select the specified section.

Events

Event Description
TXTextControl.TXTextControl.PageChanged Occurs when the text input position has been moved to another page.
TXTextControl.TXTextControl.PageFormatChange Occurs when the page format settings have been changed.
TXTextControl.TXTextControl.SectionChanged Occurs when the text input position has been moved to another section.