Back to Devexpress

RichEditCommands.changeFloatingObjectLockAspectRatio Property

aspnet-js-richeditcommands-4ace9620.md

latest1.2 KB
Original Source

RichEditCommands.changeFloatingObjectLockAspectRatio Property

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

Declaration

ts
get changeFloatingObjectLockAspectRatio(): ChangeFloatingObjectLockAspectRatioCommand

Property Value

TypeDescription
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.

javascript
richEdit.commands.changeFloatingObjectLockAspectRatio.execute(true);

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

See Also

RichEditCommands Class

RichEditCommands Members