AnalysisRegion の領域を定義する四角形の配列を返します。
名前空間 : Microsoft.Ink
アセンブリ : Microsoft.Ink.Analysis (Microsoft.Ink.Analysis.dll 内)
構文
'宣言
Public Function GetRegionScans As Rectangle()
'使用
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[]
戻り値
型 : array<System.Drawing.Rectangle[]
AnalysisRegion の領域を定義する四角形の配列。
解説
四角形の領域は、インク空間座標にあります。
返される四角形の結合は、AnalysisRegion の領域を表します。
例
この例では、AnalysisRegion、theSecondAnalysisRegion により表される領域を取得する 2 つの方法を示します。
' 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();
プラットフォーム
Windows Vista
.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 3.0