次の方法で共有


AnalysisRegionBase.GetRegionScans メソッド

AnalysisRegionBase の領域を定義する四角形の配列を返します。

名前空間 :  System.Windows.Ink.AnalysisCore
アセンブリ :  IACore (IACore.dll 内)

構文

'宣言
Public Function GetRegionScans As Integer()
'使用
Dim instance As AnalysisRegionBase
Dim returnValue As Integer()

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

戻り値

型 : array<System.Int32[]
AnalysisRegionBase の領域を定義する四角形の配列。

解説

4 つの整数の順序はそれぞれ、インク空間座標での四角形の x、y、幅、および高さを表します。(これは、ライブラリ内の他の戻り値の型とは異なる点に注意してください)。

返される四角形の結合は、AnalysisRegionBase の領域を表します。

この例では、AnalysisRegionBase、theFirstAnalysisRegionBase により表される領域を取得する 2 つの方法を示します。

' 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();

プラットフォーム

Windows Vista, Windows XP SP2, Windows Server 2003

.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。

バージョン情報

.NET Framework

サポート対象 : 3.0

参照

参照

AnalysisRegionBase クラス

AnalysisRegionBase メンバ

System.Windows.Ink.AnalysisCore 名前空間

AnalysisRegionBase.GetBounds