FileDownloadCommand.execute(fileExtension) Method
Executes the FileDownloadCommand command with the specified parameters.
Declaration
execute(
fileExtension: string | DocumentFormat,
fileName?: string
): boolean
Parameters
Name | Type | Description |
---|---|---|
fileExtension | string | DocumentFormat | A string value specifying the extension of the downloading file. |
fileName | string | The name of the downloaded document. |
Returns
Type | Description |
---|---|
boolean |
|
Remarks
richEdit.commands.fileDownload.execute(ASPx.DocumentFormat.Rtf, "MyDocument");
See Also