Click or drag to resize

PdfDocumentGetPrintDocument Method

Returns a PrintDocument for the PDF allowing developers granular control over sending the PDF to a Printer.

An assembly reference to System.Drawing is required in your project.

Available in IronPDF for .Net Framework, and .Net Core. For Linux and OSX targets please install the PDFium library to your application or bin directory for this functionality to work.

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: (
public PrintDocument GetPrintDocument()

Return Value

Type: PrintDocument
A PrintDocument.
ExceptionIronPdf must be licensed to use this feature.
See Also