NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PaintEventArgs Constructor

Initializes a new instance of the PaintEventArgs class with the specified graphics and clipping rectangle.

[Visual Basic]
Public Sub New( _
   ByVal graphics As Graphics, _
   ByVal clipRect As Rectangle _
)
[C#]
public PaintEventArgs(
   Graphics graphics,
   Rectangle clipRect
);
[C++]
public: PaintEventArgs(
   Graphics* graphics,
   Rectangle clipRect
);
[JScript]
public function PaintEventArgs(
   graphics : Graphics,
   clipRect : Rectangle
);

Parameters

graphics
The Graphics object used to paint the item.
clipRect
The Rectangle that represents the rectangle in which to paint.

See Also

PaintEventArgs Class | PaintEventArgs Members | System.WinForms Namespace | Rectangle | Graphics