[]
GDI+ Printer.
public class Printer : PrintDocument, IComponent, IDisposable
| Name | Description |
|---|---|
| Printer() | Initializes a new instance of the Printer class. |
| Printer(Func<PrintController>, PrintProgressEventHandler, PrintAbortedEventHandler, Action<Exception>) | Initializes a new instance of the Printer class. |
| Name | Description |
|---|---|
| CommonDefaultPageSettings | Gets page settings in platform independent format that are used as defaults for all pages to be printed. |
| CommonPaperKind | Gets or sets the paper size for the page. The size is specified in hundredths of an inch. |
| CommonPaperSize | Gets or sets the paper size for the page. The size is specified in hundredths of an inch. |
| CommonPrinterSettings | Gets a PrinterSettings in platform independent format that specifies where and how the document is printed. |
| Landscape | Landscape There is a potential problem if some one uses the DefaultPageSettings.Landscape to change the the landscape instead of Printer.Landscape. |
| PaperHeight | Paper height in inches. |
| PaperKind | Gets or sets the type of paper. |
| PaperSize | Gets or sets the paper size for the page. The size is specified in hundredths of an inch. |
| PaperSizes | Gets the paper sizes that are supported by this printer. Paper size in hundredths of an inch. |
| PaperWidth | Paper width in inches. |
| PrintController | Gets or sets the print controller that guides the printing process. |
| PrinterName | Gets or sets the name of the printer to use. |
| PrinterSettings | Gets or sets the printer that prints the document. |
| VisibleBounds | VisibleBounds |
| Name | Description |
|---|---|
| Dispose(bool) | Releases the unmanaged resources used by the Component and optionally releases the managed resources. |
| HandleAsyncPrintingError(Exception) | For internal use. |
| LoadSettings(BinaryReader) | For internal use only |
| OnBeginPrint(PrintEventArgs) | |
| OnEndPrint(PrintEventArgs) | |
| OnPrintPage(PrintPageEventArgs) | |
| OnQueryPageSettings(QueryPageSettingsEventArgs) | |
| Reinitialize() | Reinitialize |
| SaveSettings(BinaryWriter) | For internal use only |
| Name | Description |
|---|---|
| CommonBeginPrint | Occurs when the Print() method is called and before the first page of the document prints. |
| CommonEndPrint | Occurs when the last page of the document has printed. |
| CommonPrintPage | Occurs when the output to print for the current page is needed. |
| CommonQueryPageSettings | Occurs immediately before each PrintPage event. |