ChangeFloatingObjectOutlineWidthCommand.execute(width) Method
Executes the ChangeFloatingObjectOutlineWidthCommand command with the specified parameter.
Declaration
execute(
width: number
): boolean
Parameters
Name | Type | Description |
---|---|---|
width | number | An integer value specifying the outline width. |
Returns
Type | Description |
---|---|
boolean | true if the command has been successfully executed; false if the command execution has failed. |
Remarks
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):
richEdit.commands.changeFloatingObjectOutlineWidth.execute(richEdit.unitConverter.pixelsToTwips(10));
See Also