Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal view As SpreadView, _ ByVal g As Graphics, _ ByVal sheetRectangle As Rectangle, _ ByVal pageNum As Integer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim view As SpreadView Dim g As Graphics Dim sheetRectangle As Rectangle Dim pageNum As Integer Dim instance As New PrintBackgroundEventArgs(view, g, sheetRectangle, pageNum) |
C# | |
---|---|
public PrintBackgroundEventArgs( SpreadView view, Graphics g, Rectangle sheetRectangle, int pageNum ) |
Parameters
- view
- View that contains the sheet being printed
- g
- Graphics device that handles printing
- sheetRectangle
- Rectangle area representing the area of the sheet to be printed
- pageNum
- Number of the current page being printed
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2