WebDashboardExporter.ExportToPdf(String, Stream, Size, Padding, DashboardState, DashboardPdfExportOptions) Method

Exports a dashboard to the specified stream in PDF format.

Namespace: DevExpress.DashboardWeb

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

Declaration

public void ExportToPdf(
    string dashboardId,
    Stream stream,
    Size dashboardSize,
    Padding itemsPadding,
    DashboardState state,
    DashboardPdfExportOptions options
)
Public Sub ExportToPdf(
    dashboardId As String,
    stream As Stream,
    dashboardSize As Size,
    itemsPadding As Padding,
    state As DashboardState,
    options As DashboardPdfExportOptions
)

Parameters

Type Name Description
String dashboardId

A String that specifies the identifier of a dashboard to be exported.

Stream stream

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

Size dashboardSize

A Size object that specifies the dashboard size.

Padding itemsPadding

A Padding object that specifies the dashboard items paddings.

DashboardState state

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

DashboardPdfExportOptions options

A DashboardPdfExportOptions object containing PDF-specific options.

See Also