# Combine two circles into one shape using CombinedGeometry: Exclude : Geometry « Windows Presentation Foundation « VB.Net

Combine two circles into one shape using CombinedGeometry: Exclude ```

<Window x:Class="CombinedGeometryExample"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Combined Geometry" Height="340" Width="300">
<Border Margin="5" BorderBrush="Black" BorderThickness="1" HorizontalAlignment="Left">
<Canvas Width="300" Height="340" Margin="5">
<Path Fill="LightBlue" Stroke="Blue"
Margin="10,0,0,0">
<Path.Data>
<CombinedGeometry
GeometryCombineMode="Exclude">
<CombinedGeometry.Geometry1>
<EllipseGeometry Center="50,50"
</CombinedGeometry.Geometry1>
<CombinedGeometry.Geometry2>
<EllipseGeometry Center="80,50"
</CombinedGeometry.Geometry2>
</CombinedGeometry>
</Path.Data>
</Path>
</Canvas>
</Border>
</Window>

```

### Related examples in the same category

 1 GeometryCombineMode = Union 2 GeometryCombineMode = Intersect 3 GeometryCombineMode = Xor 4 GeometryCombineMode = Exclude 5 Combine two circles into one shape using CombinedGeometry: Union 6 Combine two circles into one shape using CombinedGeometry: Xor 7 Combine two circles into one shape using CombinedGeometry: Intersect 8 Combine Geometry 9 LineGeometry for Path 10 EllipseGeometry for Path 11 BezierSegment for a Path 12 Put EllipseGeometry to GeometryGroup 13 Put RectangleGeometry to GeometryGroup 14 Path based on GeometryGroup Resource 15 GeometryDrawing.Brush 16 GeometryDrawing.Pen 17 GeometryDrawing with 2 PathFigures 18 GeometryGroup and DrawingImage 19 GeometryDrawing insize a DrawingGroup 20 Use the StreamGeometry mini-language to create polyline 21 Create a PathGeometry using the PathFigureCollection mini-language. 22 PolyLineSegment creates a series of straight lines. 23 LineGeometry vs Line 24 RectangleGeometry vs Rectangle 25 EllipseGeometry vs Ellipse 26 Combine geometries is to use the GeometryGroup object 27 Geometry Group 28 GeometryDrawing Pen and Geometry 29 CombinedGeometry GeometryCombineMode="Union" 30 Reusing Geometry 31 Converting text to geometry 32 Use a PathGeometry object to highlight displayed text. 