[]
ReportViewer.ExportResult
Represents the result of an export operation.
example
const result: ExportResult = {
data: new Blob(),
download: (name) => console.log(name),
};
• Readonly data: string | Blob
Gets the exported content.
▸ Readonly download(filename?): void
Gets the function that triggers a browser download of the export result.
example
const result = {} as ExportResult;
result.download('report.pdf');
| Name | Type | Description |
|---|---|---|
filename? |
string |
The optional file name for the download. |
void