Skip to main content

MoveContentCommand.execute(position) Method

Executes the MoveContentCommand command with the specified parameter.

Declaration

execute(
    position: number
): boolean

Parameters

Name Type Description
position number

A value that specifies the 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