Gets information about the command state.
function getState() : CommandState<Scale>;
Usage example:
richEdit.commands.changePictureScale.getState();