'Declaration Public Function Export( _ ByVal exportType As ExportTypes, _ Optional ByVal callback As Action(Of String), _ Optional ByVal saveAsDialog As Boolean, _ Optional ByVal settings As Dictionary(Of String,String), _ Optional ByVal isCancelRequested As Func(Of Boolean) _ ) As Task
public Task Export( ExportTypes exportType, Action<string> callback, bool saveAsDialog, Dictionary<string,string> settings, Func<bool> isCancelRequested )
Parameters
- exportType
- Specifies export format.
- callback
- Function invoked once the export result is available (its URL is passed in the callback).
- saveAsDialog
- Indicates whether the save as dialog should be shown immediately once the export result is ready.
- settings
- The export settings available for RenderingExtensions.
- isCancelRequested
- The function periodically called to check if the export task should be canceled.
Return Value
A task that represents the asynchronous operation of exporting the report.