HelpBot Assistant

How can I help you?

SelectionParagraphFormat

16 Mar 20262 minutes to read

Selection paragraph format implementation

Properties

Get afterSpacing number

Sets the after spacing for selected paragraphs.

Set afterSpacing void

Gets or Sets the after spacing for selected paragraphs.

Parameters: value: number

Get beforeSpacing number

Gets or Sets the before spacing for selected paragraphs.

Set beforeSpacing void

Sets the before spacing for selected paragraphs.

Parameters: value: number

Get bidi boolean

Gets or Sets the bidirectional property for selected paragraphs

Set bidi void

Sets the bidirectional property for selected paragraphs

Parameters: value: boolean

Get borders SelectionBorders

Gets the borders for selected paragraphs.

Get contextualSpacing boolean

Gets or sets a value indicating whether to add space between the paragraphs of same style.

Set contextualSpacing void

Sets a value indicating whether to add space between the paragraphs of same style.

Parameters: value: boolean

Get firstLineIndent number

Gets or Sets the first line indent for selected paragraphs.

Set firstLineIndent void

Sets the first line indent for selected paragraphs.

Parameters: value: number

Get keepLinesTogether boolean

Gets or sets a value indicating whether all lines in the specified paragraphs remain on the same page while paginating the document.

Set keepLinesTogether void

Sets a value indicating whether all lines in the specified paragraphs remain on the same page while paginating the document.

Parameters: value: boolean

Get keepWithNext boolean

Gets or sets a value indicating whether the specified paragraph remains on the same page as the paragraph that follows it while paginating the document.

Set keepWithNext void

Sets a value indicating whether the specified paragraph remains on the same page as the paragraph that follows it while paginating the document.

Parameters: value: boolean

Get leftIndent number

Gets or Sets the left indent for selected paragraphs.

Set leftIndent void

Sets the left indent for selected paragraphs.

Parameters: value: number

Get lineSpacing number

Gets or Sets the line spacing for selected paragraphs.

Set lineSpacing void

Sets the line spacing for selected paragraphs.

Parameters: value: number

Get lineSpacingType LineSpacingType

Gets or Sets the line spacing type for selected paragraphs.

Set lineSpacingType void

Gets or Sets the line spacing type for selected paragraphs.

Parameters: value: LineSpacingType

Get listLevelNumber number

Sets the list level number for selected paragraphs.

Set listLevelNumber void

Gets or Sets the list level number for selected paragraphs.

Parameters: value: number

Get listText string

Gets the list text for selected paragraphs.

Get outlineLevel OutlineLevel

Gets or Sets the outline level for selected paragraphs.

Set outlineLevel void

Sets the outline level for selected paragraphs.

Parameters: value: OutlineLevel

Get rightIndent number

Gets or Sets the right indent for selected paragraphs.

Set rightIndent void

Sets the right indent for selected paragraphs.

Parameters: value: number

Get spaceAfterAuto boolean

Gets or Sets the space after auto for selected paragraphs.

Set spaceAfterAuto void

Sets the space after auto for selected paragraphs.

Parameters: value: boolean

Get spaceBeforeAuto boolean

Gets or Sets the space before auto for selected paragraphs.

Set spaceBeforeAuto void

Sets the space before auto for selected paragraphs.

Parameters: value: boolean

Get textAlignment TextAlignment

Gets or Sets the text alignment for selected paragraphs.

Set textAlignment void

Sets the text alignment for selected paragraphs.

Parameters: value: TextAlignment

Get widowControl boolean

Gets or sets a value indicating whether the first and last lines of the paragraph are to remain on the same page as the rest of the paragraph when paginating the document.

Set widowControl void

Sets a value indicating whether the first and last lines of the paragraph are to remain on the same page as the rest of the paragraph when paginating the document.

Parameters: value: boolean