ASPxClientDashboardExportOptions Class
Contains settings that specify parameters affecting how the dashboard (dashboard item) is exported.
Namespace: DevExpress.DashboardWeb.Scripts
Assembly: DevExpress.Dashboard.v18.2.Web.WebForms.Scripts.dll
Declaration
Remarks
The ASPxClientDashboardExportOptions class properties allow you to specify various options when exporting the dashboard (dashboard item) using the client-side functionality of the ASPxDashboardViewer. For instance, you can specify the layout of the exported document, the paper size, etc.
Example
The following code snippet shows how to export the Chart dashboard item displayed within the ASPxDashboard using the ASPxClientDashboard.ExportDashboardItemToPdf client-side method with specific PDF-export options specified.
function(s, e) {
webDashboard.ExportDashboardItemToPdf('chartDashboardItem1', {
PaperKind: DashboardExportPaperKind.A3,
PageLayout : DashboardExportPageLayout.Landscape,
ScaleMode: DashboardExportScaleMode.UseScaleFactor,
ScaleFactor: 1.5
}
);
}
Inheritance
Object
ASPxClientDashboardExportOptions
See Also