JavaScript |
function getState() : CommandState<ParagraphFormattingSettings>;
|
Return value
Type: CommandState<ParagraphFormattingSettings>
A CommandState<ParagraphFormattingSettings> object representing the command state.
The command state contains the value of the formatting property applied to characters in the selected range. If these characters have different values of the corresponding format property, the command state's value field returns undefined.
Usage example:
JavaScript |
richEdit.commands.changeParagraphFormatting.getState();
|