Skip to main content
cut

RichEditCommands.addSpacingBeforeParagraph Property

Gets a command to add spacing before a paragraph.

Declaration

get addSpacingBeforeParagraph(): AddSpacingBeforeParagraphCommand

Property Value

Type Description
AddSpacingBeforeParagraphCommand

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

Remarks

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.

richEdit.commands.addSpacingBeforeParagraph.execute();

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

See Also