DashboardControl.CustomizeExportDocument Event

Allows you to customize the exported document.

Namespace: DevExpress.DashboardWpf

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

Declaration

public event CustomizeExportDocumentEventHandler CustomizeExportDocument
Public Event CustomizeExportDocument As CustomizeExportDocumentEventHandler

The CustomizeExportDocument event handler receives an argument of the CustomizeExportDocumentEventArgs type. The following properties provide information specific to this event.

Property Description
ExcelExportOptions Gets options related to exporting a dashboard/dashboard item to the Excel format.
ExcelOptions Obsolete. Gets options related to exporting a dashboard item to the Excel format.
ExportAction Gets the export action performed by an end-user.
ExportMode Gets the document export mode.
ImageExportOptions Gets export options related to exporting a dashboard/dashboard item to an image.
ImageOptions Obsolete. Gets export options related to exporting a dashboard/dashboard item to an image.
ItemComponentName Gets the component name of the exported dashboard item.
PdfExportOptions Gets export options related to exporting a dashboard/dashboard item to PDF format.
PdfOptions Obsolete. Gets export options related to exporting a dashboard/dashboard item to PDF format.
PrintPreviewOptions Gets options related to printing a dashboard/dashboard item using the Print Preview window.
Stream Gets or sets a stream containing the exported document.

CustomizeExportDocument is raised after the DashboardControl.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.

See Also