Javascript: Selection.sectionFormat Property
Description
Gets page settings such as margins, size and orientation for the selected text.
Syntax
<SectionFormat> Selection.sectionFormatExamples
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.