API Reference > OdDb Classes > OdDbMLeaderStyle Class > OdDbMLeaderStyle Methods > OdDbMLeaderStyle::postMLeaderStyleToDb Method
OdDbMLeaderStyle::postMLeaderStyleToDb Method
Syntax
C++
OdDbObjectId postMLeaderStyleToDb(OdDbDatabase* pDb, const OdString& styleName);
Parameters 
Description 
OdDbDatabase* pDb 
[in] Pointer of the database which will receive the OdDbMLeaderStyle object.  
const OdString& styleName 
[in] Name of the style. 

Returns the OdDbObjectID of the newly added OdDbMLeaderStyle object.

Add this OdDbMLeaderStyle to the specified OdDbDatabase object. 

 

Copyright © 2002–2021. Open Design Alliance. All rights reserved.