AcMapDMMap::CreateLegend Method

Land Desktop Development ARX CPP SDK

AcMapDMMap:: CreateLegend Method
 

Creates a new legend for the specified layout.

Acad::ErrorStatus CreateLegend(
    AcMapDMLegend*& pLegend, 
    AcDbObjectId layoutId = 0
);
Parameters 
Description 
pLegend 
Output created AcMapDMLegend.  
layoutId 
Input ID of the layout.  
Returns

Returns Acad::eOk if successful; otherwise, returns a different error code.

Remarks

If the legend already exists, it is overwritten.

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