Spread Windows Forms 6.0 Product Documentation
PaintGrayAreaEventArgs Constructor
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > PaintGrayAreaEventArgs Class : PaintGrayAreaEventArgs Constructor


view
View that contains the sheet
g
Graphics device
drawRectangle
Rectangle area representing the background

Glossary Item Box

Creates a new object with the PaintGrayArea event arguments.

Syntax

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

Requirements

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

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.