업데이트: 2007년 11월
이 AnalysisRegionBase의 영역을 지정된 사각형과 교차하지 않는 영역 부분으로 제한합니다.
네임스페이스: System.Windows.Ink.AnalysisCore
어셈블리: IACore(IACore.dll)
구문
‘선언
Public Sub Exclude ( _
left As Integer, _
top As Integer, _
right As Integer, _
bottom As Integer _
)
‘사용 방법
Dim instance As AnalysisRegionBase
Dim left As Integer
Dim top As Integer
Dim right As Integer
Dim bottom As Integer
instance.Exclude(left, top, right, bottom)
public void Exclude(
int left,
int top,
int right,
int bottom
)
public:
void Exclude(
int left,
int top,
int right,
int bottom
)
public void Exclude(
int left,
int top,
int right,
int bottom
)
public function Exclude(
left : int,
top : int,
right : int,
bottom : int
)
매개 변수
- left
형식: System.Int32
이 AnalysisRegionBase에서 제외할 영역을 설명하는 사각형의 왼쪽 경계입니다.
- top
형식: System.Int32
이 AnalysisRegionBase에서 제외할 영역을 설명하는 사각형의 위쪽 경계입니다.
- right
형식: System.Int32
이 AnalysisRegionBase에서 제외할 영역을 설명하는 사각형의 오른쪽 경계입니다.
- bottom
형식: System.Int32
이 AnalysisRegionBase에서 제외할 영역을 설명하는 사각형의 아래쪽 경계입니다.
설명
모든 매개 변수는 HIMETRIC 단위입니다.
두 영역이 교차하지 않으면 이 AnalysisRegionBase는 변경되지 않습니다.
예제
이 예제에서는 Exclude, Intersect 및 Union을 사용하여 theFirstAnalysisRegionBase라는 기존 AnalysisRegionBase의 영역을 수정합니다.
' Extend an AnalysisRegionBase using the Union method and
' an AnalysisRegionBase.
theFirstAnalysisRegionBase.Union(theSecondAnalysisRegionBase)
' Extend an AnalysisRegionBase using the Union method and a rectangle.
theFirstAnalysisRegionBase.Union(0, 500, 3000, 3500)
' Restrict an AnalysisRegionBase using the Intersect method and
' an AnalysisRegionBase.
theFirstAnalysisRegionBase.Intersect(theSecondAnalysisRegionBase)
' Restrict an AnalysisRegionBase using the Intersect method and a rectangle.
theFirstAnalysisRegionBase.Intersect(1000, 1000, 5000, 5000)
' Restrict an AnalysisRegionBase using the Exclude method and
' an AnalysisRegionBase.
theFirstAnalysisRegionBase.Exclude(theSecondAnalysisRegionBase)
' Modify an AnalysisRegionBase using the Exclude method and a rectangle.
theFirstAnalysisRegionBase.Exclude(1500, 1500, 2500, 2500)
// Extend an AnalysisRegionBase using the Union method and
// an AnalysisRegionBase.
theFirstAnalysisRegionBase.Union(theSecondAnalysisRegionBase);
// Extend an AnalysisRegionBase using the Union method and a rectangle.
theFirstAnalysisRegionBase.Union(0, 500, 3000, 3500);
// Restrict an AnalysisRegionBase using the Intersect method and
// an AnalysisRegionBase.
theFirstAnalysisRegionBase.Intersect(theSecondAnalysisRegionBase);
// Restrict an AnalysisRegionBase using the Intersect method and a rectangle.
theFirstAnalysisRegionBase.Intersect(1000, 1000, 5000, 5000);
// Restrict an AnalysisRegionBase using the Exclude method and
// an AnalysisRegionBase.
theFirstAnalysisRegionBase.Exclude(theSecondAnalysisRegionBase);
// Modify an AnalysisRegionBase using the Exclude method and a rectangle.
theFirstAnalysisRegionBase.Exclude(1500, 1500, 2500, 2500);
플랫폼
Windows Vista, Windows XP SP2, Windows Server 2003
.NET Framework 및 .NET Compact Framework에서 모든 플랫폼의 전체 버전을 지원하지는 않습니다. 지원되는 버전의 목록을 보려면 .NET Framework 시스템 요구 사항을 참조하십시오.
버전 정보
.NET Framework
3.0에서 지원