Method | Description | |
---|---|---|
PdfPrintDocument ( PdfDocument Document, int mode ) : Patagames.Pdf.Enums |
Initializes a new instance of the PdfPrintDocument class.
|
Method | Description | |
---|---|---|
OnBeforeRenderPage ( PdfPage page, double width, double height, PageRotate rotation ) : void |
Raises the BeforeRenderPage event.
|
|
OnBeginPrint ( System.Drawing.Printing.PrintEventArgs e ) : void |
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.
|
|
OnEndPrint ( System.Drawing.Printing.PrintEventArgs e ) : void |
Raises the System.Drawing.Printing.PrintDocument.EndPrint event. It is called when the last page of the document has printed.
|
|
OnPrintPage ( System.Drawing.Printing.PrintPageEventArgs e ) : void |
Raises the System.Drawing.Printing.PrintDocument.PrintPage event. It is called before a page prints.
|
Method | Description | |
---|---|---|
CalcRotation ( |
||
CalcSize ( |
||
GetRenderSize ( |
||
InitDocument ( ) : |
protected OnBeforeRenderPage ( PdfPage page, double width, double height, PageRotate rotation ) : void | ||
page | PdfPage | The pagewhat will be printed. |
width | double | The page's width calculated to match the sheet size. |
height | double | The page's height calculated to match the sheet size. |
rotation | PageRotate | The page rotation. |
return | void |
protected OnBeginPrint ( System.Drawing.Printing.PrintEventArgs e ) : void | ||
e | System.Drawing.Printing.PrintEventArgs | A System.Drawing.Printing.PrintEventArgs that contains the event data. |
return | void |
protected OnEndPrint ( System.Drawing.Printing.PrintEventArgs e ) : void | ||
e | System.Drawing.Printing.PrintEventArgs | A System.Drawing.Printing.PrintEventArgs that contains the event data. |
return | void |
protected OnPrintPage ( System.Drawing.Printing.PrintPageEventArgs e ) : void | ||
e | System.Drawing.Printing.PrintPageEventArgs | A System.Drawing.Printing.PrintPageEventArgs that contains the event data. |
return | void |
public PdfPrintDocument ( PdfDocument Document, int mode ) : Patagames.Pdf.Enums | ||
Document | PdfDocument | The document to print |
mode | int | Reserved. Must be zero. |
return | Patagames.Pdf.Enums |