Share via


AnalysisRegion Constructor (Rectangle)

Initializes a new instance of the AnalysisRegion class that represents the area within a rectangle.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)

Syntax

'Declaration
Public Sub New ( _
    rectangle As Rectangle _
)
'Usage
Dim rectangle As Rectangle 

Dim instance As New AnalysisRegion(rectangle)
public AnalysisRegion(
    Rectangle rectangle
)
public:
AnalysisRegion(
    Rectangle rectangle
)
public function AnalysisRegion(
    rectangle : Rectangle
)

Parameters

Examples

This example shows how to create an AnalysisRegion that represents a finite region.

' Create a finite AnalysisRegion. 
Dim theSecondAnalysisRegion As New Microsoft.Ink.AnalysisRegion( _
    New System.Drawing.Rectangle(205, 205, 2054, 1027))
         // Create a finite AnalysisRegion.
            Microsoft.Ink.AnalysisRegion theSecondAnalysisRegion =
                new Microsoft.Ink.AnalysisRegion(
                    new System.Drawing.Rectangle(205, 205, 2054, 1027));

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

AnalysisRegion Class

AnalysisRegion Members

AnalysisRegion Overload

Microsoft.Ink Namespace

AnalysisRegion.GetBounds