FileSaveAsCommand.execute(path) Method
In This Article
Executes the FileSaveAsCommand command with the specified parameter.
#Declaration
TypeScript
execute(
path: string | RichEditFileInfo
): boolean
#Parameters
Name | Type | Description |
---|---|---|
path | string | Rich |
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