AnalysisRegionBase.GetRegionScans Method
Returns an array of rectangles that define the area of the AnalysisRegionBase.
Namespace: System.Windows.Ink.AnalysisCore
Assembly: IACore (in IACore.dll)
Syntax
'Declaration
Public Function GetRegionScans As Integer()
'Usage
Dim instance As AnalysisRegionBase
Dim returnValue As Integer()
returnValue = instance.GetRegionScans()
public int[] GetRegionScans()
public:
array<int>^ GetRegionScans()
public function GetRegionScans() : int[]
Return Value
Type: array<System.Int32[]
An array of rectangles that define the area of the AnalysisRegionBase.
Remarks
Each sequence of four integers describes the x, y, width, and height of a rectangle in ink-space coordinates. (Note this is different for other return types in the library.)
The union of the returned rectangles represents the area of the AnalysisRegionBase.
Examples
This example shows two ways to get the area represented by the AnalysisRegionBase, theFirstAnalysisRegionBase.
' Get the area of the AnalysisRegionBase as an array of rectangles.
Dim theArea As Integer() = theFirstAnalysisRegionBase.GetRegionScans()
' Get the bounds of an AnalysisRegionBase.
Dim theBounds As Integer() = theFirstAnalysisRegionBase.GetBounds()
// Get the area of the AnalysisRegionBase as an array of rectangles.
int[] theArea =
theFirstAnalysisRegionBase.GetRegionScans();
// Get the bounds of an AnalysisRegionBase.
int[] theBounds = theFirstAnalysisRegionBase.GetBounds();
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
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