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: 3.43.2704
Syntax
public class PdfPrintDocument : PrintDocument

The PdfPrintDocument type exposes the following members.

Constructors
  NameDescription
Public methodPdfPrintDocument
Initializes a new instance of the PdfPrintDocument class.
Top
Properties
  NameDescription
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
Top
Methods
  NameDescription
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).)
Top
Events
  NameDescription
Public eventBeforeRenderPage
Occurs after the page of the document is loaded and before prints.
Top
See Also