AcMapMbMapBookManager:: GetMapBookForLayout Method
Retrieves an Id of a Map Book associated with the given layout if any.
static Acad::ErrorStatus GetMapBookForLayout( AcDbObjectId& mapBookId, const AcDbObjectId& layoutId );
Parameters |
Description |
mapBookId |
Output Id of the Map Book. It is assigned a value only in the case the specified layout is a Map Book layout. |
layouId |
Input Id of the AutoCAD Layout object. |
Returns
Returns Acad::eOk if this is a Map Book layout, Acad::eKeyNotFound if this is not a Map Book layout; otherwise, returns a different error code.
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].