AcMapTopology::DeletePolygon Method

Land Desktop Development ARX CPP SDK

AcMapTopology:: DeletePolygon Method
 

Deletes a polygon from the current topology model.

AcMap::EErrCode DeletePolygon(
    long lPolygongID
);
Parameters 
Description 
lPolygongID 
Input ID of the polygon to delete.  
Returns

Returns AcMap::EErrCode kOk if successful; otherwise, returns a different error code.

Remarks

Before deleting a polygon, open the topology for writing and free all references associated with the polygon. After the deletion succeeds, the object reference with ID lPlygonID becomes invalid; the caller is responsible for freeing this object.

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].