[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].NET Core 3 Support
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Collapse]Rich Text Editor
   [Expand]Product Information
    Product Class Structure
    Supported Formats
   [Expand]Getting Started
   [Expand]RichEditControl Document
    Text Formatting
    Import and Export
   [Expand]Page Layout
    Track Changes
    Mail Merge
    Restrictions and Protection
   [Expand]Visual Elements
    HTML Tag Support
    [Expand]UI Customization
    [Expand]Text Boxes
     Spell Check
      How to: Retain the Image URI in an HTML Document
      How to: Save a Document as a Series of Images
      How to: Send the Mail-Merge Document as an E-Mail
  [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
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Gantt Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [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 and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

How to: Save a Document as a Series of Images

This example shows how to use the DXPrinting library to save a document as a series of images. The API from the table below allows you to accomplish this task.

Member Description
DevExpress.XtraPrintingLinks.PrintableComponentLinkBase.%23ctor* Initializes a new instance of the PrintableComponentLinkBase class with the default settings.
PrintableComponentLinkBase.Component Gets or sets a IPrintable user implementation printed via the current link.
LinkBase.CreateDocument Creates a report using the current PrintingSystem.
DevExpress.XtraPrinting.ImageExportOptions.%23ctor* Initializes a new instance of the ImageExportOptions class with the default settings.
ImageExportOptions.ExportMode Specifies whether document pages are exported to a single or multiple images.
ImageExportOptions.Format Specifies the image format for exporting a document.
ImageExportOptions.Resolution Specifies the image resolution (in DPI).
ImageExportOptions.PageRange Specifies the range of pages to be exported.
PrintingSystemBase.ExportToImage Exports a document to the specified stream in Image format using the defined Image-specific options.

The following code snippet exports the document to a series of PNG images with the specified options.

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