bool MergeShapes(ref MapWinGIS.Shapefile shapes, int indexOne, int indexTwo, ref MapWinGIS.Shape resultShp)
Merges two lines (at matching end points) or two polygons
(by dissolving the common border or by combining into a multi-part polygon)
to make one result shape.
This version requires that both shapes be located in the same shapefile.
|shapes||The shapefile containing the two shapes to be merged.|
|indexOne||The index of the first shape.|
|indexTwo||The index of the second shape.|
|resultShp||The result of merging the shapes at indexOne and indexTwo together.|
True if the shapes were merged, false otherwise.
Visual Basic Net 2005 Example
Visual C# 2005 Example Implementation Code
Back to Merge