업데이트: 2007년 11월
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입니다.
예제
이 예제에서는 theFirstAnalysisRegionBase라는 AnalysisRegionBase가 나타내는 영역을 가져오는 두 가지 방법을 보여 줍니다.
' 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에서 지원