DashboardViewer.CustomizeExportDocument Event
Allows you to customize the exported document.
Namespace: DevExpress.DashboardWin
Assembly: DevExpress.Dashboard.v24.2.Win.dll
NuGet Package: DevExpress.Win.Dashboard
#Declaration
#Event Data
The CustomizeExportDocument event's data class is CustomizeExportDocumentEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Excel |
Gets options related to exporting a dashboard/dashboard item to Excel format. |
Excel |
Obsolete. Gets options related to exporting a dashboard item to Excel format. |
Export |
Gets the export action performed by an end-user.
Inherited from Custom |
Export |
Gets the document export mode.
Inherited from Custom |
Image |
Gets export options related to exporting a dashboard/dashboard item as an image.
Inherited from Custom |
Image |
Obsolete. Gets export options related to exporting a dashboard/dashboard item as an image.
Inherited from Custom |
Item |
Gets the component name of the exported dashboard item.
Inherited from Custom |
Pdf |
Gets export options related to exporting a dashboard/dashboard item to PDF format.
Inherited from Custom |
Pdf |
Obsolete. Gets export options related to exporting a dashboard/dashboard item to PDF format.
Inherited from Custom |
Print |
Gets options related to printing a dashboard/dashboard item using the Print Preview window.
Inherited from Custom |
Stream | Gets or sets a stream containing the exported document. |
The event data class exposes the following methods:
Method | Description |
---|---|
Get |
Returns multidimensional data for the specified dashboard item. |
#Remarks
CustomizeExportDocument is raised after the DashboardViewer.CustomExport and allows you to customize the stream containing the resulting document (such as PDF, Image or Excel). Use the CustomizeExportDocumentEventArgs.Stream event parameter to access the stream.