Metodo AnalysisRegionBase.Exclude (AnalysisRegionBase)
Aggiornamento: novembre 2007
Limita l'area di questo oggetto AnalysisRegionBase alla sezione dell'area che non interseca l'oggetto AnalysisRegionBase specificato.
Spazio dei nomi: System.Windows.Ink.AnalysisCore
Assembly: IACore (in IACore.dll)
Sintassi
'Dichiarazione
Public Sub Exclude ( _
regionToExclude As AnalysisRegionBase _
)
'Utilizzo
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
)
Parametri
- regionToExclude
Tipo: System.Windows.Ink.AnalysisCore.AnalysisRegionBase
Area da escludere da AnalysisRegionBase.
Note
Se le due aree non si intersecano, AnalysisRegionBase non viene modificato.
Esempi
In questo esempio vengono utilizzati Exclude, Intersect e Union per modificare l'area di un oggetto esistente AnalysisRegionBase, theFirstAnalysisRegionBase.
' 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);
Piattaforme
Windows Vista, Windows XP SP2, Windows Server 2003
.NET Framework e .NET Compact Framework non supportano tutte le versioni di ciascuna piattaforma. Per un elenco delle versioni supportate, vedere Requisiti di sistema di .NET Framework.
Informazioni sulla versione
.NET Framework
Supportato in: 3.0