Skip to main content

RichEditCommands.addSpacingBeforeParagraph Property

Gets a command to add spacing before a paragraph.


readonly addSpacingBeforeParagraph: AddSpacingBeforeParagraphCommand

Property Value

Type Description

An object that provides methods that execute the command and check its state.


The command adds the 0.17 inches spacing before a current paragraph (the paragraph in which the cursor is located).

To execute the command, the spacing value before the current paragraph should equal 0.

Call the execute method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.


Refer to the following section for more information: Client Commands.

See Also