---
title: "ImagePrintDocument Class"
canonical: https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ImagePrintDocument.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# ImagePrintDocument Class
 
This class represents an object which sends images to a printer.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
 
## Syntax
  
```
Public Class ImagePrintDocument _Inherits PrintDocument
```
 
```csharp
public class ImagePrintDocument : PrintDocument
```
 
## Remarks
  
You can print an image (or multiple images) with this class in two ways:
 
1. Pass the necessary image or collection of images into the [Source](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_ImagePrintDocument_Source.htm.md) property. After it you should just run [Print()](http://msdn2.microsoft.com/en-us/x29ssh93) method to start printing.
2. Run the [Print()](http://msdn2.microsoft.com/en-us/x29ssh93) and handle the [QueryImage](https://www.graphicsmill.com/docs/gm5/E_Aurigma_GraphicsMill_WinControls_ImagePrintDocument_QueryImage.htm.md) event. Here you can feed the printer with images. To stop requesting images, you should set [HasMoreImages](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_QueryImageEventArgs_HasMoreImages.htm.md) argument of this event to **false**.

To specify how the images should be placed at the page, you should use [PlacementMode](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_ImagePrintDocument_PlacementMode.htm.md) property. You can specify whether you want to print each image at the individual page, print several images at one page, or place images manually (and in particular specify yourself when to switch to the next page).
 
To specify the printing settings, use the [PrintOptions](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_ImagePrintDocument_PrintOptions.htm.md) property.
 
## Inheritance Hierarchy
  
- [System.Object](http://msdn2.microsoft.com/en-us/e5kfa45b)
    - [System.MarshalByRefObject](http://msdn2.microsoft.com/en-us/w4302s1f)
        - [System.ComponentModel.Component](http://msdn2.microsoft.com/en-us/9wbadbce)
            - [System.Drawing.Printing.PrintDocument](http://msdn2.microsoft.com/en-us/68eybb19)
                - Aurigma.GraphicsMill.WinControls.ImagePrintDocument
 
## Thread Safety
 Static members of this type are safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.
 
## Object Model

[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls_ObjectModel_70.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ImagePrintDocument.htm.md)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls_ObjectModel_71.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls_ObjectModel_72.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls_ObjectModel_73.png)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel1.png)[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill.WinControls_ObjectModel_74.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_PrintOptions.htm.md)
  
## See Also

### Reference

- [ImagePrintDocument Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_WinControls_ImagePrintDocument.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
