AcMapDMMap::DeleteLegend Method

Land Desktop Development ARX CPP SDK

AcMapDMMap:: DeleteLegend Method
 

Deletes the contents of the legend of the specified layout.

Acad::ErrorStatus DeleteLegend(
    AcDbObjectId layoutId = 0
);
Parameters 
Description 
layoutId 
Input ID of the layout.  
Returns

Returns Acad::eOk if successful. Returns Acad::eKeyNotFound if no legend exists for the specified layout.

Remarks

This function deletes the legend itself, and removes the layout from the internal list of layout/legend pairs.

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