AcMapTopology:: MergePolygons Method
Merges two neighboring polygons, dissolving the boundaries between them.
AcMap::EErrCode MergePolygons( long lPolygonId1, long lPolygonId2 );
Parameters |
Description |
lPolygonId1 |
Input ID of the first polygon to merge. |
lPolygonId2 |
Input ID of the second polygon to merge. |
Returns
Returns AcMap::EErrCode kOk if successful; otherwise, returns a different error code.
Remarks
After a merge succeeds, the object reference lPolygonId1 becomes invalid; the caller is responsible for retrieving the new polygon reference from the polygon object with ID lPolygonId1. The object reference lPolygonId2 also becomes invalid and the caller is responsible for freeing the object referenced by lPolygonId2.
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].