Méthode | Description | |
---|---|---|
MultipagePrintDocument ( System.Windows.Forms.Document document, int pagesPerSheet, bool printPageBorders ) : System |
The constructor of the custom PrintDocument class.
|
Méthode | Description | |
---|---|---|
OnBeginPrint ( System.Drawing.Printing.PrintEventArgs e ) : void |
The overridden method OnBeginPrint, which is called before the first page of the document prints.
|
|
OnPrintPage ( System.Drawing.Printing.PrintPageEventArgs e ) : void |
Generates the printed page from the specified number of the document pages.
|
Méthode | Description | |
---|---|---|
GetThumbCount ( int pagesPerSheet ) : |
Defines the number of columns and rows depending on the pagesPerSheet number and the page orientation.
|
|
HundredthsInchToPoint ( float value ) : float |
Converts hundredths of inches to points.
|
public MultipagePrintDocument ( System.Windows.Forms.Document document, int pagesPerSheet, bool printPageBorders ) : System | ||
document | System.Windows.Forms.Document | |
pagesPerSheet | int | |
printPageBorders | bool | |
Résultat | System |
protected OnBeginPrint ( System.Drawing.Printing.PrintEventArgs e ) : void | ||
e | System.Drawing.Printing.PrintEventArgs | |
Résultat | void |
protected OnPrintPage ( System.Drawing.Printing.PrintPageEventArgs e ) : void | ||
e | System.Drawing.Printing.PrintPageEventArgs | |
Résultat | void |