InkOverlayPaintingEventArgs Constructor
Initializes a new instance of the InkOverlayPaintingEventArgs class.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public Sub New ( _
graphics As Graphics, _
clipRectangle As Rectangle, _
Allow As Boolean _
)
'Usage
Dim graphics As Graphics
Dim clipRectangle As Rectangle
Dim Allow As Boolean
Dim instance As New InkOverlayPaintingEventArgs(graphics, _
clipRectangle, Allow)
public InkOverlayPaintingEventArgs(
Graphics graphics,
Rectangle clipRectangle,
bool Allow
)
public:
InkOverlayPaintingEventArgs(
Graphics^ graphics,
Rectangle clipRectangle,
bool Allow
)
public function InkOverlayPaintingEventArgs(
graphics : Graphics,
clipRectangle : Rectangle,
Allow : boolean
)
Parameters
graphics
Type: System.Drawing.GraphicsThe Graphics object that the InkOverlay object is rendering to.
clipRectangle
Type: System.Drawing.RectangleThe clip Rectangle to paint within.
Allow
Type: System.BooleanSet to true if the paint operation should occur; otherwise, false.
Remarks
graphics of type Graphics specifies the graphic's object we are rendering to. clipRectangle of type Rectangle specifies the clipRectangle (in pixels). Allow of type bool specifies whether the Paint operation should be done.
Platforms
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 3.0
See Also
Reference
InkOverlayPaintingEventArgs Class