[]
        
(Showing Draft Content)

ReportViewer.ExportResult

Interface: ExportResult

ReportViewer.ExportResult

Represents the result of an export operation.

example

const result: ExportResult = {
	data: new Blob(),
	download: (name) => console.log(name),
};

Table of contents

Properties

Methods

Properties

data

Readonly data: string | Blob

Gets the exported content.

Methods

download

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');

Parameters

Name Type Description
filename? string The optional file name for the download.

Returns

void