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