ChangeFloatingObjectRotationCommand.execute(rotation) Method
Executes the ChangeFloatingObjectRotationCommand command with the specified parameter.
Declaration
execute(
rotation: number
): boolean
Parameters
Name | Type | Description |
---|---|---|
rotation | number | An integer value specifying the angle of rotation. |
Returns
Type | Description |
---|---|
boolean | true if the command has been successfully executed; false if the command execution has failed. |
Remarks
Usage example (it is implied that selection is set to a floating object):
richEdit.commands.changeFloatingObjectRotation.execute(45);
See Also