Skip to main content
A newer version of this page is available. .

Printing and Exporting

  • 2 minutes to read

The WinForms Viewer provides end-users with the capability to print or export an entire dashboard and individual items. You can also use an API to perform export, customize printing/exporting settings, etc.

API Description
DashboardViewer.AllowPrintDashboard Gets or sets whether end-users can print or export a dashboard.
DashboardViewer.AllowPrintDashboardItems Gets or sets whether end-users can print or export dashboard items.
DashboardViewer.PrintPreviewOptions Provides access to options related to printing a dashboard/dashboard item.
DashboardViewer.PdfExportOptions Provides access to options related to exporting a dashboard/dashboard item to the PDF format.
DashboardViewer.ImageExportOptions Provides access to options related to exporting a dashboard/dashboard item to an image.
DashboardViewer.ExcelExportOptions Provides access to options related to exporting a dashboard item to the Excel format.
DashboardViewer.PrintPreviewType Gets or sets the type of Print Preview used to preview dashboard items or the entire dashboard.
DashboardViewer.ShowPrintPreview Invokes the Print Preview, which shows the print preview of the dashboard.
DashboardViewer.ShowRibbonPrintPreview Invokes the Ribbon Print Preview Form, which shows the print preview of the dashboard.
DashboardViewer.ShowExportDashboardDialog Invokes the dialog that allows end-users to export the entire dashboard to the specified format.
DashboardViewer.ShowExportDashboardItemDialog Invokes the dialog that allows end-users to export the dashboard item to the specified format.
DashboardViewer.PrintPreviewShowing Allows you to customize the Print Preview window at runtime.
DashboardViewer.ExportToPdf Exports a dashboard to the specified stream in PDF format using the specified PDF-specific options.
DashboardViewer.ExportToImage Exports a dashboard to the specified stream in Image format using the specified image-specific options.
DashboardViewer.ExportToExcel Exports dashboard data to the specified stream in Excel format.
DashboardViewer.ExportDashboardItemToPdf Exports the dashboard item to the specified stream in PDF format using the specified PDF-specific options.
DashboardViewer.ExportDashboardItemToImage Exports the dashboard item to the specified stream in Image format using the specified image options.
DashboardViewer.ExportDashboardItemToExcel Exports the dashboard item to the specified stream in Excel format using specified export options.
DashboardViewer.ExportFormShowing Occurs when the Export Form is about to be displayed, and allows you to cancel the action.
DashboardViewer.BeforeExportDocument Allows you to hide specific dashboard items when printing or exporting the entire dashboard.
DashboardViewer.CustomExport Allows you to customize the exported document.
DashboardViewer.CustomizeExportDocument Allows you to customize the exported document.

How to: Add Custom Information to the Exported Dashboard at Runtime using the CustomExport Event