Skip to main content
cut

RichEditCommands.fileSave Property

Gets a command to save the document at its original location on the server.

Declaration

get fileSave(): FileSaveCommand

Property Value

Type Description
FileSaveCommand

An object that provides methods that execute the command and check its state.

Remarks

Call the execute method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.

richEdit.commands.fileSave.execute();

If the document does not have a location on the server (the document is new) and the WorkDirectory property is defined, the command invokes the Save As dialog.

Refer to the following section for more information: Client Commands.

See Also