FileSaveAsCommand.execute(path) Method
Executes the FileSaveAsCommand command with the specified parameter.
Declaration
execute(
path: string | RichEditFileInfo
): boolean
Parameters
Name | Type | Description |
---|---|---|
path | string | RichEditFileInfo | An object that contains the settings of the saved file. |
Returns
Type | Description |
---|---|
boolean |
|
Remarks
Usage example:
var fileSettings = {
documentFormat: ASPx.DocumentFormat.Doc,
fileName: 'document1',
folderPath: '/'
}
richEdit.commands.fileSaveAs.execute(fileSettings)
See Also