Skip to main content

ParagraphFormattingSettings.contextualSpacing Property

Specifies whether to remove an additional space (contextual spacing) between paragraphs of the same style.

#Declaration

TypeScript
contextualSpacing: boolean

#Property Value

Type Description
boolean

true to remove extra space between paragraphs, false to add extra space.

#Remarks

To mark the change from one paragraph to another, the line spacing is increased. To prevent this behavior, set the contextualSpacing to true.

See Also