TX Text Control .NET Server

Javascript: Selection.sectionFormat Property

Property|Introduced in 26.0

Description

Gets page settings such as margins, size and orientation for the selected text.

Syntax

<SectionFormat> Selection.sectionFormat

Examples

The following example demonstrates Selection.sectionFormat in a practical document-editing workflow. It gets page settings such as margins, size and orientation for the selected text.

const sectionFormat = TXTextControl.selection.sectionFormat;
console.log("section format:", sectionFormat);

Limitations

Read Only.