Click or drag to resize

PdfPrintDocument Class

Defines a reusable object that sends output to a printer, when printing from a Windows Forms application.
Inheritance Hierarchy

Namespace: Patagames.Pdf.Net.Controls.WinForms
Assembly: Patagames.Pdf.WinForms (in Patagames.Pdf.WinForms.dll) Version: 4.89.2704
public class PdfPrintDocument : PrintDocument

The PdfPrintDocument type exposes the following members.

Public methodPdfPrintDocument Initializes a new instance of the PdfPrintDocument class.
Public methodPdfPrintDocument(PdfDocument, Int32) Initializes a new instance of the PdfPrintDocument class.
Public propertyAutoCenter Gets or sets a Boolean indicating whether a page will be centered automatically on the sheet when printing.
Public propertyAutoRotate Automatically rotate pages when printing
Public propertyDocument Gets or sets a value indicating the PDF document that will be printed.
Public propertyPrintSizeMode Gets or sets the size mode for the pages.
Public propertyRenderFlags Gets or sets a combination of RenderFlags for printing.
Public propertyScale The scale of the pages in prcent. Must be between 1 and 1000
Protected methodOnAfterRenderPage Raises the AfterRenderPage event.
Protected methodOnBeforeRenderPage Raises the BeforeRenderPage event.
Protected methodOnBeginPrint Raises the System.Drawing.Printing.PrintDocument.BeginPrint event. It is called after the System.Drawing.Printing.PrintDocument.Print method is called and before the first page of the document prints.
(Overrides PrintDocumentOnBeginPrint(PrintEventArgs))
Protected methodOnEndPrint Raises the System.Drawing.Printing.PrintDocument.EndPrint event. It is called when the last page of the document has printed.
(Overrides PrintDocumentOnEndPrint(PrintEventArgs))
Protected methodOnPrintPage Raises the System.Drawing.Printing.PrintDocument.PrintPage event. It is called before a page prints.
(Overrides PrintDocumentOnPrintPage(PrintPageEventArgs))
Protected methodOnQueryPageSettings Raises the System.Drawing.Printing.PrintDocument.QueryPageSettings event. It is called immediately before each System.Drawing.Printing.PrintDocument.PrintPage event.
(Overrides PrintDocumentOnQueryPageSettings(QueryPageSettingsEventArgs))
Public eventAfterRenderPage Occurs after rendering a document page.
Public eventBeforeRenderPage Occurs after the page of the document is loaded and before prints.
See Also