# PrintDocument.IHandler interface

Namespace: [Eto.Forms](https://eto.picoe.ca/api/namespace/eto.forms.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
[AutoInitialize(false)]
public interface PrintDocument.IHandler : Widget.IHandler
```

Handler interface for the [PrintDocument](https://eto.picoe.ca/api/type/eto.forms.printdocument.md) widget

## Properties

- [Name](https://eto.picoe.ca/api/type/eto.forms.printdocument.ihandler/name.md): Gets or sets the name of the document to show in the printer queue
- [PageCount](https://eto.picoe.ca/api/type/eto.forms.printdocument.ihandler/pagecount.md): Gets or sets the total number of pages available to be printed in this document.
- [PrintSettings](https://eto.picoe.ca/api/type/eto.forms.printdocument.ihandler/printsettings.md): Gets or sets the print settings for the document when printing.

## Methods

- [Create](https://eto.picoe.ca/api/type/eto.forms.printdocument.ihandler/create.md): (2 overloads) Creates the handler with only custom drawn content
- [Print](https://eto.picoe.ca/api/type/eto.forms.printdocument.ihandler/print.md): Prints this document immediately using the current [PrintDocument.IHandler.PrintSettings](https://eto.picoe.ca/api/type/eto.forms.printdocument.ihandler/printsettings.md)

## Inherited Members

- From [Widget.IHandler](https://eto.picoe.ca/api/type/eto.widget.ihandler.md): [ID](https://eto.picoe.ca/api/type/eto.widget.ihandler/id.md), [NativeHandle](https://eto.picoe.ca/api/type/eto.widget.ihandler/nativehandle.md), [Widget](https://eto.picoe.ca/api/type/eto.widget.ihandler/widget.md), [HandleEvent](https://eto.picoe.ca/api/type/eto.widget.ihandler/handleevent.md), [Initialize](https://eto.picoe.ca/api/type/eto.widget.ihandler/initialize.md), [UnhandleEvent](https://eto.picoe.ca/api/type/eto.widget.ihandler/unhandleevent.md)
