Skip to main content
A newer version of this page is available. .

CopyContentCommand.execute(position) Method

Executes the CopyContentCommand command with the specified parameter.

Declaration

execute(
    position: number
): boolean

Parameters

Name Type Description
position number

An integer value specifying a position of the inserted 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.copyContent.execute(2);
See Also