The requested page is not available for the requested platform. You are viewing the content for Default platform.

DashboardConfigurator.CustomizeExportDocument Event

Allows you to customize the exported document.

Namespace: DevExpress.DashboardWeb

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

Declaration

public event CustomizeExportDocumentWebEventHandler CustomizeExportDocument
Public Event CustomizeExportDocument As CustomizeExportDocumentWebEventHandler

Event Data

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

Property Description
DashboardId Gets the identifier of the exported dashboard.
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.
Stream Gets or sets a stream containing the exported document.

Remarks

Important

To learn how to use the DashboardConfigurator's API, see the Server-Side API Overview topic.

CustomizeExportDocument is raised after the DashboardConfigurator.CustomExport and allows you to customize the stream containing the resulting document (such as PDF, Image or Excel). Use the CustomizeExportDocumentWebEventArgs.Stream event parameter to access the stream.

See Also