[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Blazor.Viewer.ReportViewer.Export

Export Method

Export(ExportTypes, Action<string>, bool, Dictionary<string, string>, Func<bool>)

Exports the currently displayed report.

Declaration
public Task Export(ExportTypes exportType, Action<string> callback = null, bool saveAsDialog = false, Dictionary<string, string> settings = null, Func<bool> isCancelRequested = null)
Parameters
Type Name Description
ExportTypes exportType

Specifies export format.

Action<string> callback

Function invoked once the export result is available (its URL is passed in the callback).

bool saveAsDialog

Indicates whether the save as dialog should be shown immediately once the export result is ready.

Dictionary<string, string> settings

The export settings available for RenderingExtensions.

Func<bool> isCancelRequested

The function periodically called to check if the export task should be canceled.

Returns
Type Description
Task

A task that represents the asynchronous operation of exporting the report.