Pdf |
The PdfPrintDocument type exposes the following members.
| Name | Description | |
|---|---|---|
| PdfPrintDocument | Initializes a new instance of the PdfPrintDocument class. | |
| PdfPrintDocument(PdfDocument, Int32) | Initializes a new instance of the PdfPrintDocument class. |
| Name | Description | |
|---|---|---|
| AutoCenter | Gets or sets a Boolean indicating whether a page will be centered automatically on the sheet when printing. | |
| AutoRotate | Automatically rotate pages when printing | |
| Document | Gets or sets a value indicating the PDF document that will be printed. | |
| PrintSizeMode | Gets or sets the size mode for the pages. | |
| RenderFlags | Gets or sets a combination of RenderFlags for printing. | |
| Scale | The scale of the pages in prcent. Must be between 1 and 1000 |
| Name | Description | |
|---|---|---|
| OnAfterRenderPage | Raises the AfterRenderPage event. | |
| OnBeforeRenderPage | Raises the BeforeRenderPage event. | |
| OnBeginPrint |
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)) | |
| OnEndPrint |
Raises the System.Drawing.Printing.PrintDocument.EndPrint event. It is called
when the last page of the document has printed.
(Overrides PrintDocumentOnEndPrint(PrintEventArgs)) | |
| OnPrintPage |
Raises the System.Drawing.Printing.PrintDocument.PrintPage event. It is called
before a page prints.
(Overrides PrintDocumentOnPrintPage(PrintPageEventArgs)) | |
| OnQueryPageSettings |
Raises the System.Drawing.Printing.PrintDocument.QueryPageSettings event. It
is called immediately before each System.Drawing.Printing.PrintDocument.PrintPage event.
(Overrides PrintDocumentOnQueryPageSettings(QueryPageSettingsEventArgs)) |
| Name | Description | |
|---|---|---|
| AfterRenderPage | Occurs after rendering a document page. | |
| BeforeRenderPage | Occurs after the page of the document is loaded and before prints. |