Skip to main content
cut

RichEditCommands.changeFloatingObjectLockAspectRatio Property

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

#Declaration

TypeScript
get 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);

Refer to the following section for more information: Client Commands.

See Also