Log In
[Expand]General Information
[Collapse]WinForms Controls
 [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
  [Expand]Map Control
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
   [Expand]Product Information
   [Expand]Getting Started
   [Expand]Fundamental Concepts
    [Expand]Basic Terms
    [Collapse]Print Preview
      Document Viewer
      Document Viewer Toolbars
  [Expand]PDF Viewer
  [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]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Document Viewer

The XtraPrinting Library provides a Print Preview to publish, export and/or print documents in Windows Forms applications. This control provides tools for document navigation, zooming and scaling. You can use it to modify a document's print settings, or specify its watermark settings.

The Print Preview functionality is provided by the DocumentViewer control.

The control's main property is DocumentViewer.DocumentSource, which specifies an object that supplies the document to preview.

The document source can be an XtraReport, a Printing System (i.e., its host printing link) or a remote object (Report Server or a report service).

When creating a Print Preview, you can select from two toolbar types: the ribbon interface and the bar interface. To learn more about each of these toolbars, see Document Viewer Toolbars.

Expanded See Also

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