| Visual Basic (Declaration) | |
|---|---|
Public Overloads Sub OwnerPrintDraw( _ ByVal g As Graphics, _ ByVal rect As Rectangle, _ ByVal sheet As Integer, _ ByVal page As Integer, _ ByVal info As OwnerPrintInfo _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As FpSpread Dim g As Graphics Dim rect As Rectangle Dim sheet As Integer Dim page As Integer Dim info As OwnerPrintInfo instance.OwnerPrintDraw(g, rect, sheet, page, info) | |
| C# | |
|---|---|
public void OwnerPrintDraw( Graphics g, Rectangle rect, int sheet, int page, OwnerPrintInfo info ) | |
Parameters
- g
- Graphics device that handles printing
- rect
- Location and size of a rectangular region
- sheet
- Sheet from which to print
- page
- Specific page of the sheet to print
- info
| Exception | Description |
|---|---|
| System.ArgumentOutOfRangeException | Specified sheet index is out of range; must be between zero and the total number of sheets |
| System.ArgumentOutOfRangeException | Specified page index is out of range; must be greater than one |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8