Share via


AnalysisRegion.GetRegionScans Method

Returns an array of rectangles that defines the area of an 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 function GetRegionScans() : Rect[]

Return Value

Type: array<System.Windows.Rect[]
An array of rectangles that defines the area of an AnalysisRegion.

Remarks

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

Examples

This example shows how to get the area represented by the AnalysisRegion, named 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 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

See Also

Reference

AnalysisRegion Class

AnalysisRegion Members

System.Windows.Ink Namespace

AnalysisRegion.GetBounds

AnalysisRegionToRegion