Log In
[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
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Collapse]PDF Viewer
   [Expand]Getting Started
   [Expand]Interactive Forms
     File Attachment
     Text Markup Annotations
     Navigating and Viewing a Document
     Content Copying
     Cursor Modes
     Document Rotation
  [Expand]TreeMap Control
  [Expand]Diagram Control
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation


This document describes how to print a document and customize print settings.

You can print the current document using the Print dialog. To invoke the Print dialog, use one of the following options:

  • click the Print command located on the File toolbar button group;

  • press Ctrl+P;
  • or...

  • right-click the document area and select the Print item in the context menu.

To invoke the Print dialog in code, do one of the following:

In the invoked Print dialog, you can choose the printer and specify the following printing parameters.

Page range selection can include a set of pages such as 2-5, which would include page 2 through to page 5, you can also stipulate the order of pages, so 2-5,1,6 would print pages 2-5, then page 1 followed by page 6.

You can also choose the desired option: fit to page, actual size or custom page scaling.

Page orientation can be specified as portrait or landscape. Alternatively, you can tell the printing system to auto calculate the orientation. If the scaling option is set to "fit to page" and orientation is set to "auto", the print engine will attempt to set the orientation and scaling to maximize most of the available paper size.

To print a document, click the Print button in the Print dialog.

To print a document without invoking the Print dialog in code, call the corresponding overload of the PdfViewerControl.Print method and pass the printer settings (represented by the PdfPrinterSettings object), showPrintStatus (defines whether to show or hide the print status dialog) and maxPrintingDPI (specifies the maximum DPI value allowed for document printing) parameters to this method as arguments.

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