Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Collapse]Diagrams
    Getting Started
   [Expand]Diagram Designer
    Diagram Control
   [Expand]End-User Interaction
   [Expand]Diagram Items
   [Expand]Automatic Layout
   [Expand]Data Binding Functionality
    Themes and Styles
    Printing and Exporting
    Saving and Loading Diagrams
   [Expand]Examples
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Printing and Exporting

Expanded Printing

End-users can print the diagram by selecting the Print ribbon's application menu item in the Diagram Designer. It invokes the standard Print dialog that allows an end-user to print the diagram, as well as select the printer (if required), specify the range of pages to print, the number of copies, etc. To invoke the dialog in code, use the DiagramControl.Print method.

The Print Preview application menu item invokes the Print Preview that allows end-users to see exactly how a diagram will look when it is printed. The corresponding method is DiagramControl.ShowPrintPreview.

The Quick Print application menu item immediately sends the diagram to the default printer. The corresponding method is DiagramControl.QuickPrint.

Expanded Exporting

Diagrams can be exported to one of the following image formats: GIF, PNG, BMP, JPG.

To export diagrams to a file or stream in code, use the DiagramControl.ExportDiagram method.

End-users can export diagrams to a file by selecting the Export As ribbon's application menu item in the Diagram Designer. It invokes the Export As dialog window where end-users can select the desired file format and specify the path and name of the file to which to export the diagram.

How would you rate this topic?​​​​​​​