The requested page is not available for the requested platform. You are viewing the content for Default platform.

WebDashboardExporter.ExportDashboardItemToPdf(String, String, Stream, Size, DashboardState, DashboardPdfExportOptions) Method

Exports the dashboard item to the specified stream in PDF format.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v19.2.Web.dll


public void ExportDashboardItemToPdf(
    string dashboardId,
    string dashboardItemName,
    Stream stream,
    Size dashboardItemSize,
    DashboardState state,
    DashboardPdfExportOptions options
Public Sub ExportDashboardItemToPdf(
    dashboardId As String,
    dashboardItemName As String,
    stream As Stream,
    dashboardItemSize As Size,
    state As DashboardState,
    options As DashboardPdfExportOptions


Name Type Description
dashboardId String

A String that specifies the identifier of a dashboard containing the required dashboard item.

dashboardItemName String

A String that is the component name of the dashboard item to be exported.

stream Stream

A Stream object to which the created PDF file should be sent.

dashboardItemSize Size

A Size object that specifies the dashboard item size.

state DashboardState

A DashboardState object that specifies the dashboard state to be applied to the resulting document.

options DashboardPdfExportOptions

A DashboardPdfExportOptions object containing PDF-specific options.

See Also