AcMapTopology::DeletePolygon Method

Land Desktop Development ARX CPP SDK

AcMapTopology:: DeletePolygon Method
 

Deletes a polygon from the current topology model.

AcMap::EErrCode DeletePolygon(
    const AcMapTopoPolygon& polygon
);
Parameters 
Description 
polygon 
Input object reference of the AcMapTopoPolygonpolygon to delete.  
Returns

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

Remarks

Before deleting the polygon, open the topology for writing. After the deletion succeeds, the object reference passed in the polygon parameter 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].