AnalysisRegionBase.Intersect, méthode (AnalysisRegionBase)
Mise à jour : November 2007
Restreint la zone du AnalysisRegionBase à la zone créée par son intersection avec le AnalysisRegionBase spécifié.
Espace de noms : System.Windows.Ink.AnalysisCore
Assembly : IACore (dans IACore.dll)
Syntaxe
'Déclaration
Public Sub Intersect ( _
regionToIntersect As AnalysisRegionBase _
)
'Utilisation
Dim instance As AnalysisRegionBase
Dim regionToIntersect As AnalysisRegionBase
instance.Intersect(regionToIntersect)
public void Intersect(
AnalysisRegionBase regionToIntersect
)
public:
void Intersect(
AnalysisRegionBase^ regionToIntersect
)
public void Intersect(
AnalysisRegionBase regionToIntersect
)
public function Intersect(
regionToIntersect : AnalysisRegionBase
)
Paramètres
- regionToIntersect
Type : System.Windows.Ink.AnalysisCore.AnalysisRegionBase
Zone avec laquelle effectuer l'intersection.
Notes
Si les deux zones ne se croisent pas, la nouvelle zone est vide.
Exemples
L'exemple utilise Exclude, Intersect et Union pour modifier la zone d'un AnalysisRegionBase existant, 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);
Plateformes
Windows Vista, Windows XP SP2, Windows Server 2003
Le .NET Framework et le .NET Compact Framework ne prennent pas en charge toutes les versions de chaque plateforme. Pour obtenir la liste des versions prises en charge, consultez Configuration requise du .NET Framework.
Informations de version
.NET Framework
Pris en charge dans : 3.0