Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
   Reporting
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Printing-Exporting
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Collapse]Diagram Control
   [Expand]Getting Started
   [Expand]Diagram Designer Control
    Diagram Control
   [Expand]End-User Interaction
   [Expand]Diagram Items
   [Expand]Automatic Layout
   [Expand]Data Binding
    Themes and Styles
    Printing and Exporting
    Saving and Loading Diagrams
   [Expand]Examples
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[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 Print from the application menu. It invokes the standard Print dialog, which 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 Quick Print application menu item immediately sends the diagram to the default printer. The corresponding method is DiagramControl.QuickPrint.

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

The Print Preview dialog allows end-users to select the printed page size. It can differ from the drawing page size specified in the Page Setup Dialog Window.

To specify a custom background for printed pages, use the DiagramControl.PrintPageBackgroundTemplate property.

Note

The DiagramControl.PrintPageBackgroundTemplate property specifies the background of printed pages, not drawing pages.
To specify a custom drawing page background, use the DiagramControl.DiagramPageBackgroundTemplate property.

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 a diagram to a file by selecting Export As from the application menu. 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.

Is this topic helpful?​​​​​​​