DS Server

Javascript: Selection.paragraphFormat Property

Property|Introduced in 26.0

Description

Gets the formatting attributes of the selected paragraphs.

Syntax

<ParagraphFormat> Selection.paragraphFormat

Examples

The following example demonstrates Selection.paragraphFormat in a practical document-editing workflow. It gets the formatting attributes of the selected paragraphs.

const paragraphFormat = TXTextControl.selection.paragraphFormat;
console.log("paragraph format:", paragraphFormat);

Limitations

Read Only.