MapWinGeoProc:Merge MergeShapes
From MapWindow GIS
MergeShapes
Syntax
bool MergeShapes(ref MapWinGIS.Shapefile shapes, int indexOne, int indexTwo, ref MapWinGIS.Shape resultShp)
Summary
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.
Parameters
| 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. |
Returns
True if the shapes were merged, false otherwise.
Visual Basic Net 2005 Example Implementation Code
Visual C# 2005 Example Implementation Code
Back to Merge
















