SetParagraphLevelCommand.getState Method
Gets information about the command’s state.
Declaration
getState(): CommandState<number>
Returns
| Type | Description |
|---|---|
| CommandState<number> | An object that contains the command’s state. |
Remarks
The method can be used to get the current selection‘s paragraph level.
Usage example:
richEdit.commands.setParagraphLevel.getState();
See Also