cut

RichEditCommands.changeFloatingObjectLockAspectRatio Property

Gets a command to lock a floating object's aspect ratio.

Declaration

readonly changeFloatingObjectLockAspectRatio: ChangeFloatingObjectLockAspectRatioCommand

Property Value

Type Description
ChangeFloatingObjectLockAspectRatioCommand

An object that provides methods that execute the command and check its state.

Remarks

Call the execute(lockAspectRatio) method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.


richEdit.commands.changeFloatingObjectLockAspectRatio.execute(true);
See Also