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
rectangle
Type: System.Drawing.RectangleThe rectangle that describes the area of the new AnalysisRegion in ink space coordinates.
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