Union Intersecting Shapes in a FeatureSet
This example shows how to use a newly added extension method that allows for intersecting shapes in the same Shapefile to be Unioned, but leaving shapes that don't overlap unchanged.
Public Sub UnionShapes()
Dim fs As New FeatureSet()
Dim result As IFeatureSet = fs.UnionShapes(ShapeRelateType.Intersecting)
Dim sfd As New SaveFileDialog()
sfd.Filter = "*Shapefiles (*.shp)|*.shp"
If sfd.ShowDialog() <> DialogResult.OK Then