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

FileNewCommand Members

A command to create a new empty document.

Methods

Name Description
execute

Executes the FileNewCommand command by imitating the corresponding end-user action made in the RichEdit’s UI.

May result in taking no action if the command’s state does not allow command execution. Use the object’s getState method to check the command state.

getState Inherited from CommandWithSimpleStateBase.
See Also