TXTextControl.SectionFormat Object

TXTextControl.SectionFormat class An instance of the SectionFormat class represents the formatting attributes of a section.

Introduced: 26.0.

Syntax

[JavaScript]
{
getBreakKind: <function>,
getColumnDistances: <function>,
getColumnLineColor: <function>,
getColumnLineWidth: <function>,
getColumns: <function>,
getColumnWidths: <function>,
getEqualColumnWidth: <function>,
getLandscape: <function>,
getRestartNumbering: <function>,
setBreakKind: <function>,
setColumnLineColor: <function>,
setColumnLineWidth: <function>,
setColumns: <function>,
setColumnWidths: <function>,
setEqualColumnWidth: <function>,
setLandscape: <function>,
setRestartNumbering: <function>,
}

Properties

Property Description
PageBorder Gets the attributes of a section's page border.
PageMargins Gets the section's page margins.
PageSize Gets the section's page size.

Methods

Method Description
getBreakKind Gets the kind of the section break the section starts with.
getColumnDistances Gets the distances, in twips, between the columns on a page.
getColumnLineColor Gets the color of a dividing line between two columns.
getColumnLineWidth Gets the width of a dividing line between two columns.
getColumns Gets the number of columns on a page.
getColumnWidths Gets the widths, in twips, of the columns on a page.
getEqualColumnWidth Gets a value indicating whether the columns on a page have all the same width and the same distance between them.
getLandscape Gets a value indicating whether the section's page size is in landscape orientation.
getRestartNumbering Gets a value indicating whether page numbering is restarted at the section's beginning.
setBreakKind Sets the kind of the section break the section starts with.
setColumnLineColor Sets the color of a dividing line between two columns.
setColumnLineWidth Sets the width of a dividing line between two columns.
setColumns Sets the number of columns on a page.
setColumnWidths Sets the widths, in twips, of the columns on a page.
setEqualColumnWidth Sets a value indicating whether the columns on a page have all the same width and the same distance between them.
setLandscape Sets a value indicating whether the section's page size is in landscape orientation.
setRestartNumbering Sets a value indicating whether page numbering is restarted at the section's beginning.

See Also