DashboardConfigurator.CustomExport Event

Allows you to customize the exported document.

Namespace: DevExpress.DashboardWeb

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

Declaration

public event CustomExportWebEventHandler CustomExport
Public Event CustomExport As CustomExportWebEventHandler

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

Property Description
DashboardId Gets the identifier of the exported dashboard.
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.
PrintableComponents Provides access to a dictionary containing dashboard item names and related PrintableComponents. For internal use.
Report Gets the underlying report of the exported document.
Important

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

The CustomExport event is raised is raised before saving the exported document to the PDF and Image formats, and allows you to customize the underlying report using the CustomExportWebEventArgs.Report parameter. When handling this event, you can obtain the following information.

Note

Note that a reference to the DevExpress.XtraReports.v18.2.dll assembly should be added to the project to allow customizing the underlying report (CustomExportWebEventArgs.Report).

See Also