[]
Gets the number of pages required to print a given sheet into the supplied rectangle.
public int GetOwnerPrintPageCount(Graphics g, Rectangle rect, int sheet)
Public Function GetOwnerPrintPageCount(g As Graphics, rect As Rectangle, sheet As Integer) As Integer
| Type | Name | Description |
|---|---|---|
| Graphics | g | Graphics object that handles printing |
| Rectangle | rect | Rectangle area that represents the area for printing |
| int | sheet | Sheet to print |
| Type | Description |
|---|---|
| int | The number of pages |