Skip to main content

ChangeParagraphFormattingCommand.execute(settings) Method

Executes the ChangeParagraphFormattingCommand command with the specified parameter.

Declaration

execute(
    settings: ParagraphFormattingSettings
): boolean

Parameters

Name Type Description
settings ParagraphFormattingSettings

A ParagraphFormattingSettings object specifying paragraph formatting settings.

Returns

Type Description
boolean

true if the command has been successfully executed; false if the command execution has failed.

Remarks

Usage example:

richEdit.commands.changeParagraphFormatting.execute({backColor: "yellow", alignment: ASPx.ParagraphAlignment.Center, keepLinesTogether: true});
See Also