Freigeben über


AnalysisRegionBase.Exclude-Methode (AnalysisRegionBase)

Begrenzt den Bereich dieses AnalysisRegionBase bezüglich des Teils dieses Bereichs, der keine Schnittmenge mit der angegebenen AnalysisRegionBase bildet.

Namespace:  System.Windows.Ink.AnalysisCore
Assembly:  IACore (in IACore.dll)

Syntax

'Declaration
Public Sub Exclude ( _
    regionToExclude As AnalysisRegionBase _
)
'Usage
Dim instance As AnalysisRegionBase
Dim regionToExclude As AnalysisRegionBase

instance.Exclude(regionToExclude)
public void Exclude(
    AnalysisRegionBase regionToExclude
)
public:
void Exclude(
    AnalysisRegionBase^ regionToExclude
)
public void Exclude(
    AnalysisRegionBase regionToExclude
)
public function Exclude(
    regionToExclude : AnalysisRegionBase
)

Parameter

Hinweise

Wenn sich die beiden Bereiche nicht überschneiden, bleibt dieser AnalysisRegionBase unverändert.

Beispiele

In diesem Beispiel werden Exclude, Intersect und Union verwendet, um den Bereich eines vorhandenen AnalysisRegionBase mit dem Namen theFirstAnalysisRegionBase zu ändern.

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

Plattformen

Windows Vista, Windows XP SP2, Windows Server 2003

.NET Framework und .NET Compact Framework unterstützen nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen für .NET Framework.

Versionsinformationen

.NET Framework

Unterstützt in: 3.0

Siehe auch

Referenz

AnalysisRegionBase-Klasse

AnalysisRegionBase-Member

Exclude-Überladung

System.Windows.Ink.AnalysisCore-Namespace

AnalysisRegionBase.Intersect

AnalysisRegionBase.Union