ParagraphFormattingSettings.backColor Property
Specifies the paragraph background color.
Declaration
backColor: string
Property Value
Type | Description |
---|---|
string | The background color. |
Remarks
The backColor property can be specified as follows.
RichEdit.commands.changeParagraphFormatting.execute({backColor: "Auto"});
RichEdit.commands.changeParagraphFormatting.execute({backColor: "NoColor"});
// Known color name
RichEdit.commands.changeParagraphFormatting.execute({backColor: "red"});
// HEX format
RichEdit.commands.changeParagraphFormatting.execute({backColor: "#FF0000"});
// RGB format
RichEdit.commands.changeParagraphFormatting.execute({backColor: "rgb(255, 0, 0)"});
See Also