AnalysisRegionBase の外接する四角形を取得します。
名前空間 : System.Windows.Ink.AnalysisCore
アセンブリ : IACore (IACore.dll 内)
構文
'宣言
Public Function GetBounds As Integer()
'使用
Dim instance As AnalysisRegionBase
Dim returnValue As Integer()
returnValue = instance.GetBounds()
public int[] GetBounds()
public:
array<int>^ GetBounds()
public int[] GetBounds()
public function GetBounds() : int[]
戻り値
型 : array<System.Int32[]
AnalysisRegionBase の左、上、右、および下側の境界 (HIMETRIC 単位)。
解説
境界は、インク空間座標における境界です。
AnalysisRegionBase が無限領域を表している場合、左および上側の境界は System.Int32.MinValue で、右および下側の境界は System.Int32.MaxValue です。
AnalysisRegionBase が空の領域を表している場合、四角形のすべての境界は 0 になります。
例
この例では、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