ChangeFloatingObjectRotationCommand.execute(rotation) Method
In This Article
Executes the ChangeFloatingObjectRotationCommand command with the specified parameter.
#Declaration
TypeScript
execute(
rotation: number
): boolean
#Parameters
Name | Type | Description |
---|---|---|
rotation | number | The angle of rotation. |
#Returns
Type | Description |
---|---|
boolean |
|
#Remarks
Usage example (it is implied that selection is set to a floating object):
richEdit.commands.changeFloatingObjectRotation.execute(45);
See Also