MoveContentCommand.execute(position) Method
Executes the MoveContentCommand command with the specified parameter.
Declaration
execute(
position: number
): boolean
Parameters
Name | Type | Description |
---|---|---|
position | number | An integer value specifying position to insert selected text. |
Returns
Type | Description |
---|---|
boolean | true if the command has been successfully executed; false if the command execution has failed. |
Remarks
Usage example:
richEdit.commands.moveContent.execute(3);
See Also