| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal view As SpreadView, _ ByVal g As Graphics, _ ByVal drawRectangle As Rectangle _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim view As SpreadView Dim g As Graphics Dim drawRectangle As Rectangle Dim instance As New PaintGrayAreaEventArgs(view, g, drawRectangle)  | |
| C# | |
|---|---|
public PaintGrayAreaEventArgs( SpreadView view, Graphics g, Rectangle drawRectangle )  | |
Parameters
- view
 - View that contains the sheet
 - g
 - Graphics device
 - drawRectangle
 - Rectangle area representing the background
 
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8