[]
Prints the specified page of the specified sheet to a specified graphics interface with the specified size.
public void OwnerPrintDraw(Graphics g, Rectangle rect, int sheet, int page)
Public Sub OwnerPrintDraw(g As Graphics, rect As Rectangle, sheet As Integer, page As Integer)
Type | Name | Description |
---|---|---|
Graphics | g | Graphics device that handles printing |
Rectangle | rect | Location and size of a rectangular region |
int | sheet | Sheet from which to print |
int | page | Specific page of the sheet to print |
Type | Condition |
---|---|
ArgumentOutOfRangeException | Specified sheet index is out of range; must be between zero and the total number of sheets |
ArgumentOutOfRangeException | Specified page index is out of range; must be greater than one |
Prints the specified page of the specified sheet to a specified graphics interface with the specified size.
public void OwnerPrintDraw(Graphics g, Rectangle rect, int sheet, int page, OwnerPrintInfo info)
Public Sub OwnerPrintDraw(g As Graphics, rect As Rectangle, sheet As Integer, page As Integer, info As OwnerPrintInfo)
Type | Name | Description |
---|---|---|
Graphics | g | Graphics device that handles printing |
Rectangle | rect | Location and size of a rectangular region |
int | sheet | Sheet from which to print |
int | page | Specific page of the sheet to print |
OwnerPrintInfo | info |
Type | Condition |
---|---|
ArgumentOutOfRangeException | Specified sheet index is out of range; must be between zero and the total number of sheets |
ArgumentOutOfRangeException | Specified page index is out of range; must be greater than one |