The members of System.Drawing.Printing.PrintDocument are listed below.
See Also: Inherited members from System.ComponentModel.Component
Initializes a new instance of the System.Drawing.Printing.PrintDocument class. |
DefaultPageSettings | PageSettings.
Gets or sets page settings that are used as defaults for all pages to be printed. | |
DocumentName | string.
Gets or sets the document name to display (for example, in a print status dialog box or printer queue) while printing the document. | |
OriginAtMargins | bool.
Gets or sets a value indicating whether the position of a graphics object associated with a page is located just inside the user-specified margins or at the top-left corner of the printable area of the page. | |
PrintController | PrintController.
Gets or sets the print controller that guides the printing process. | |
PrinterSettings | PrinterSettings.
Gets or sets the printer that prints the document. |
OnBeginPrint(PrintEventArgs)
| ||
OnEndPrint(PrintEventArgs)
| ||
OnPrintPage(PrintPageEventArgs)
| ||
OnQueryPageSettings(QueryPageSettingsEventArgs)
|
BeginPrint |
Occurs when the PrintDocument.Print method is called and before the first page of the document prints. | |
EndPrint |
Occurs when the last page of the document has printed. | |
PrintPage |
Occurs when the output to print for the current page is needed. | |
QueryPageSettings |
Occurs immediately before each PrintDocument.PrintPage event. |