Skip to main content
All docs
V23.2

DashboardExporter.GetPrintableControl(Stream, String) Method

Gets a printable control corresponding to the specified dashboard item.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v23.2.Core.dll

NuGet Package: DevExpress.Dashboard.Core

Declaration

public XRControl GetPrintableControl(
    Stream dashboardXml,
    string dashboardItemName
)

Parameters

Name Type Description
dashboardXml Stream

A stream that contains the exported dashboard file.

dashboardItemName String

The component name of the dashboard item.

Returns

Type Description
XRControl

A printable control corresponding to the specified dashboard item.

Remarks

The following table illustrates dashboard items and their corresponding printable XRControls:

Dashboard Item XRControl
ChartDashboardItem XRChart
ScatterChartDashboardItem XRChart
PieDashboardItem XRChart
PivotDashboardItem XRPivotGrid
RangeFilterDashboardItem (When CustomExportBaseEventArgs.ExportMode is SingleItem) XRChart
GaugeDashboardItem XRGaugeDashboardItem
TextBoxDashboardItem XRTextBox
See Also