Back to Devexpress

RichEditCommands.changeFloatingObjectOutlineWidth Property

aspnet-js-richeditcommands-513125f9.md

latest1.5 KB
Original Source

RichEditCommands.changeFloatingObjectOutlineWidth Property

Gets a command to modify a floating object’s outline width.

Declaration

ts
get changeFloatingObjectOutlineWidth(): ChangeFloatingObjectOutlineWidthCommand

Property Value

TypeDescription
ChangeFloatingObjectOutlineWidthCommand

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

|

Remarks

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

The command includes size parameters assigned in twips. Use the ASPxClientRichEdit.unitConverter to convert size measure units (inches, points, pixels, centimeters) to twips.

Usage example (it is implied that selection is set to a floating object):

javascript
richEdit.commands.changeFloatingObjectOutlineWidth.execute(richEdit.unitConverter.pixelsToTwips(10));

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

See Also

RichEditCommands Class

RichEditCommands Members