AcMapDMMap::GetLegend Method

Land Desktop Development ARX CPP SDK

AcMapDMMap:: GetLegend Method
 

Retrieves the legend of the specified layout.

Acad::ErrorStatus GetLegend(
    AcMapDMLegend*& pLegend, 
    AcDb::OpenMode openMode, 
    AcDbObjectId layoutId = 0
);
Parameters 
Description 
pLegend 
Output AcMapDMLegendobject.  
openMode 
Input open mode (typically AcDb::kForWrite).  
layoutId 
Input ID of the layout.  
Returns

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

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