Share via


AnalysisRegion.GetRegionScans Method

Returns an array of rectangles that defines the area of the AnalysisRegion.

Namespace: System.Windows.Ink
Assembly: IAWinFX (in iawinfx.dll)

Syntax

'Declaration
Public Function GetRegionScans As Rect()
'Usage
Dim instance As AnalysisRegion
Dim returnValue As Rect()

returnValue = instance.GetRegionScans
public Rect[] GetRegionScans ()
public:
array<Rect>^ GetRegionScans ()
public Rect[] GetRegionScans ()
public function GetRegionScans () : Rect[]
Not applicable.

Return Value

An array of rectangles that defines the area of the AnalysisRegion.

Remarks

The union of the returned rectangles represents the area of the AnalysisRegion.

Example

This example shows how to get the area represented by the AnalysisRegion, theSecondAnalysisRegion.

' Get the area of the AnalysisRegion as an array of rectangles.
Dim theArea As Rect() = theSecondAnalysisRegion.GetRegionScans()
// Get the area of the AnalysisRegion as an array of rectangles.
Rect[] theArea =
    theSecondAnalysisRegion.GetRegionScans();

Platforms

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

AnalysisRegion Class
AnalysisRegion Members
System.Windows.Ink Namespace
AnalysisRegion.GetBounds
System.Windows.Ink.AnalysisRegion.ToRegion