FileOpenCommand.execute(path) Method

Executes the FileOpenCommand command with the specified parameter.

Declaration

execute(path: string): boolean

Parameters

Name Type Description
path string

A string value specifying path to the opening file.

Returns

Type Description
boolean

true if the command has been successfully executed; false if the command execution has failed.

Remarks

Usage example:


richEdit.commands.fileOpen.execute("document.docx");
See Also