Class IDashboardExporterExtensions

Inheritance
System.Object
IDashboardExporterExtensions
Namespace: Reveal.Sdk
Assembly: Infragistics.Reveal.SDK.Server.dll
Syntax
public static class IDashboardExporterExtensions : Object

Methods

ExportToExcel(IDashboardExporter, String)

Exports a dashboard to Pdf

Declaration
public static Task<Stream> ExportToExcel(this IDashboardExporter dashboardExporter, string dashboardId)
Parameters
Type Name Description
IDashboardExporter dashboardExporter

Dashboard exporter instance

System.String dashboardId

Dashboard identifier

Returns
Type Description
System.Threading.Tasks.Task<System.IO.Stream>

Stream with the resulting Excel

ExportToExcel(IDashboardExporter, String, ExcelExportOptions, IRVUserContext)

Exports a dashboard to Pdf

Declaration
public static Task<Stream> ExportToExcel(this IDashboardExporter dashboardExporter, string dashboardId, ExcelExportOptions options = null, IRVUserContext userContext = null)
Parameters
Type Name Description
IDashboardExporter dashboardExporter

Dashboard exporter instance

System.String dashboardId

Dashboard identifier

ExcelExportOptions options

Export options

IRVUserContext userContext

User context

Returns
Type Description
System.Threading.Tasks.Task<System.IO.Stream>

Stream with the resulting Excel

ExportToExcel(IDashboardExporter, String, String)

Exports a dashboard to Pdf

Declaration
public static Task ExportToExcel(this IDashboardExporter dashboardExporter, string dashboardId, string filePath)
Parameters
Type Name Description
IDashboardExporter dashboardExporter

Dashboard exporter instance

System.String dashboardId

Dashboard identifier

System.String filePath

Destination file for the exported dashboard

Returns
Type Description
System.Threading.Tasks.Task

ExportToExcel(IDashboardExporter, String, String, ExcelExportOptions, IRVUserContext)

Exports a dashboard to Pdf

Declaration
public static Task ExportToExcel(this IDashboardExporter dashboardExporter, string dashboardId, string filePath, ExcelExportOptions options = null, IRVUserContext userContext = null)
Parameters
Type Name Description
IDashboardExporter dashboardExporter

Dashboard exporter instance

System.String dashboardId

Dashboard identifier

System.String filePath

Destination file for the exported dashboard

ExcelExportOptions options

Export options

IRVUserContext userContext

User context

Returns
Type Description
System.Threading.Tasks.Task

ExportToImage(IDashboardExporter, String)

Exports a dashboard to Image (png)

Declaration
public static Task<Stream> ExportToImage(this IDashboardExporter dashboardExporter, string dashboardId)
Parameters
Type Name Description
IDashboardExporter dashboardExporter

Dashboard exporter instance

System.String dashboardId

Dashboard identifier

Returns
Type Description
System.Threading.Tasks.Task<System.IO.Stream>

Stream with the resulting image

ExportToImage(IDashboardExporter, String, ImageExportOptions, IRVUserContext)

Exports a dashboard to Image (png)

Declaration
public static Task<Stream> ExportToImage(this IDashboardExporter dashboardExporter, string dashboardId, ImageExportOptions options = null, IRVUserContext userContext = null)
Parameters
Type Name Description
IDashboardExporter dashboardExporter

Dashboard exporter instance

System.String dashboardId

Dashboard identifier

ImageExportOptions options

Export options

IRVUserContext userContext

User context

Returns
Type Description
System.Threading.Tasks.Task<System.IO.Stream>

Stream with the resulting image

ExportToImage(IDashboardExporter, String, String)

Exports a dashboard to Image (png)

Declaration
public static Task ExportToImage(this IDashboardExporter dashboardExporter, string dashboardId, string filePath)
Parameters
Type Name Description
IDashboardExporter dashboardExporter

Dashboard exporter instance

System.String dashboardId

Dashboard identifier

System.String filePath

Destination file for the exported dashboard

Returns
Type Description
System.Threading.Tasks.Task

ExportToImage(IDashboardExporter, String, String, ImageExportOptions, IRVUserContext)

Exports a dashboard to Image (png)

Declaration
public static Task ExportToImage(this IDashboardExporter dashboardExporter, string dashboardId, string filePath, ImageExportOptions options = null, IRVUserContext userContext = null)
Parameters
Type Name Description
IDashboardExporter dashboardExporter

Dashboard exporter instance

System.String dashboardId

Dashboard identifier

System.String filePath

Destination file for the exported dashboard

ImageExportOptions options

Export options

IRVUserContext userContext

User context

Returns
Type Description
System.Threading.Tasks.Task

ExportToPdf(IDashboardExporter, String)

Exports a dashboard to Pdf

Declaration
public static Task<Stream> ExportToPdf(this IDashboardExporter dashboardExporter, string dashboardId)
Parameters
Type Name Description
IDashboardExporter dashboardExporter

Dashboard exporter instance

System.String dashboardId

Dashboard identifier

Returns
Type Description
System.Threading.Tasks.Task<System.IO.Stream>

Stream with the resulting pdf

ExportToPdf(IDashboardExporter, String, PdfExportOptions, IRVUserContext)

Exports a dashboard to Pdf

Declaration
public static Task<Stream> ExportToPdf(this IDashboardExporter dashboardExporter, string dashboardId, PdfExportOptions options = null, IRVUserContext userContext = null)
Parameters
Type Name Description
IDashboardExporter dashboardExporter

Dashboard exporter instance

System.String dashboardId

Dashboard identifier

PdfExportOptions options

Export options

IRVUserContext userContext

User context

Returns
Type Description
System.Threading.Tasks.Task<System.IO.Stream>

Stream with the resulting pdf

ExportToPdf(IDashboardExporter, String, String)

Exports a dashboard to Pdf

Declaration
public static Task ExportToPdf(this IDashboardExporter dashboardExporter, string dashboardId, string filePath)
Parameters
Type Name Description
IDashboardExporter dashboardExporter

Dashboard exporter instance

System.String dashboardId

Dashboard identifier

System.String filePath

Destination file for the exported dashboard

Returns
Type Description
System.Threading.Tasks.Task

ExportToPdf(IDashboardExporter, String, String, PdfExportOptions, IRVUserContext)

Exports a dashboard to Pdf

Declaration
public static Task ExportToPdf(this IDashboardExporter dashboardExporter, string dashboardId, string filePath, PdfExportOptions options = null, IRVUserContext userContext = null)
Parameters
Type Name Description
IDashboardExporter dashboardExporter

Dashboard exporter instance

System.String dashboardId

Dashboard identifier

System.String filePath

Destination file for the exported dashboard

PdfExportOptions options

Export options

IRVUserContext userContext

User context

Returns
Type Description
System.Threading.Tasks.Task

ExportToPowerPoint(IDashboardExporter, String)

Exports a dashboard to Pdf

Declaration
public static Task<Stream> ExportToPowerPoint(this IDashboardExporter dashboardExporter, string dashboardId)
Parameters
Type Name Description
IDashboardExporter dashboardExporter

Dashboard exporter instance

System.String dashboardId

Dashboard identifier

Returns
Type Description
System.Threading.Tasks.Task<System.IO.Stream>

Stream with the resulting PowerPoint

ExportToPowerPoint(IDashboardExporter, String, PowerPointExportOptions, IRVUserContext)

Exports a dashboard to Pdf

Declaration
public static Task<Stream> ExportToPowerPoint(this IDashboardExporter dashboardExporter, string dashboardId, PowerPointExportOptions options = null, IRVUserContext userContext = null)
Parameters
Type Name Description
IDashboardExporter dashboardExporter

Dashboard exporter instance

System.String dashboardId

Dashboard identifier

PowerPointExportOptions options

Export options

IRVUserContext userContext

User context

Returns
Type Description
System.Threading.Tasks.Task<System.IO.Stream>

Stream with the resulting PowerPoint

ExportToPowerPoint(IDashboardExporter, String, String)

Exports a dashboard to Pdf

Declaration
public static Task ExportToPowerPoint(this IDashboardExporter dashboardExporter, string dashboardId, string filePath)
Parameters
Type Name Description
IDashboardExporter dashboardExporter

Dashboard exporter instance

System.String dashboardId

Dashboard identifier

System.String filePath

Destination file for the exported dashboard

Returns
Type Description
System.Threading.Tasks.Task

ExportToPowerPoint(IDashboardExporter, String, String, PowerPointExportOptions, IRVUserContext)

Exports a dashboard to Pdf

Declaration
public static Task ExportToPowerPoint(this IDashboardExporter dashboardExporter, string dashboardId, string filePath, PowerPointExportOptions options = null, IRVUserContext userContext = null)
Parameters
Type Name Description
IDashboardExporter dashboardExporter

Dashboard exporter instance

System.String dashboardId

Dashboard identifier

System.String filePath

Destination file for the exported dashboard

PowerPointExportOptions options

Export options

IRVUserContext userContext

User context

Returns
Type Description
System.Threading.Tasks.Task