Back to Devexpress

DashboardExporter.GetPrintableControl(Stream, String) Method

dashboard-devexpress-dot-dashboardcommon-dot-dashboardexporter-dot-getprintablecontrol-x28-system-dot-io-dot-stream-system-dot-string-x29.md

latest3.0 KB
Original Source

DashboardExporter.GetPrintableControl(Stream, String) Method

Gets a printable control corresponding to the specified dashboard item.

Namespace : DevExpress.DashboardCommon

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

NuGet Package : DevExpress.Dashboard.Core

Declaration

csharp
public XRControl GetPrintableControl(
    Stream dashboardXml,
    string dashboardItemName
)
vb
Public Function GetPrintableControl(
    dashboardXml As Stream,
    dashboardItemName As String
) As XRControl

Parameters

NameTypeDescription
dashboardXmlStream

A stream that contains the exported dashboard file.

| | dashboardItemName | String |

The component name of the dashboard item.

|

Returns

TypeDescription
XRControl

A printable control corresponding to the specified dashboard item.

|

Remarks

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

Dashboard ItemXRControl
ChartDashboardItemXRChart
ScatterChartDashboardItemXRChart
PieDashboardItemXRChart
PivotDashboardItemXRPivotGrid
RangeFilterDashboardItem (When CustomExportBaseEventArgs.ExportMode is SingleItem)XRChart
GaugeDashboardItemXRGaugeDashboardItem
TextBoxDashboardItemXRTextBox

See Also

DashboardExporter Class

DashboardExporter Members

DevExpress.DashboardCommon Namespace