Metodo AnalysisRegionBase.Exclude (Int32, Int32, Int32, Int32)
Aggiornamento: novembre 2007
Limita l'area di questo oggetto AnalysisRegionBase alla sezione dell'area che non interseca il rettangolo specificato.
Spazio dei nomi: System.Windows.Ink.AnalysisCore
Assembly: IACore (in IACore.dll)
Sintassi
'Dichiarazione
Public Sub Exclude ( _
left As Integer, _
top As Integer, _
right As Integer, _
bottom As Integer _
)
'Utilizzo
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
)
Parametri
- left
Tipo: System.Int32
Limite sinistro del rettangolo che descrive l'area da escludere da AnalysisRegionBase.
- top
Tipo: System.Int32
Limite superiore del rettangolo che descrive l'area da escludere da AnalysisRegionBase.
- right
Tipo: System.Int32
Limite destro del rettangolo che descrive l'area da escludere da AnalysisRegionBase.
- bottom
Tipo: System.Int32
Limite inferiore del rettangolo che descrive l'area da escludere da AnalysisRegionBase.
Note
Tutti i parametri sono in unità HIMETRIC.
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