Metodo AnalysisRegion.GetRegionScans
Aggiornamento: novembre 2007
Restituisce una matrice di rettangoli che definisce l'area dell'oggetto AnalysisRegion.
Spazio dei nomi: Microsoft.Ink
Assembly: Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)
Sintassi
'Dichiarazione
Public Function GetRegionScans As Rectangle()
'Utilizzo
Dim instance As AnalysisRegion
Dim returnValue As Rectangle()
returnValue = instance.GetRegionScans()
public Rectangle[] GetRegionScans()
public:
array<Rectangle>^ GetRegionScans()
public Rectangle[] GetRegionScans()
public function GetRegionScans() : Rectangle[]
Valore restituito
Tipo: array<System.Drawing.Rectangle[]
Matrice di rettangoli che definisce l'area dell'oggetto AnalysisRegion.
Note
Le aree dei rettangoli sono nelle coordinate dello spazio di input penna.
L'unione dei rettangoli restituiti rappresenta l'area dell'oggetto AnalysisRegion.
Esempi
In questo esempio vengono illustrate due modalità per ottenere l'area rappresentata dall'oggetto AnalysisRegion, theSecondAnalysisRegion.
' Get an approximation of the AnalysisRegion as an array of rectangles.
Dim theArea As System.Drawing.Rectangle() = _
theSecondAnalysisRegion.GetRegionScans()
' Get a Region object for the area of the AnalysisRegion.
Dim theRegion As System.Drawing.Region = theSecondAnalysisRegion.ToRegion()
// Get the area of the AnalysisRegion as an array of rectangles.
System.Drawing.Rectangle[] theArea =
theSecondAnalysisRegion.GetRegionScans();
// Get the area of the AnalysisRegion as a region.
System.Drawing.Region theRegion = theSecondAnalysisRegion.ToRegion();
Piattaforme
Windows Vista
.NET Framework e .NET Compact Framework non supportano tutte le versioni di ciascuna piattaforma. Per un elenco delle versioni supportate, vedere Requisiti di sistema di .NET Framework.
Informazioni sulla versione
.NET Framework
Supportato in: 3.0