API Reference > OdDb Classes > OdDbMLeader Class > OdDbMLeader Methods > OdDbMLeader::setMText Method
OdDbMLeader::setMText Method
Syntax
C++
void setMText(const OdDbMText* pMText);
Parameters 
Description 
const OdDbMText* pMText 
[in] The MText object to associate with this MLeader (if NULL, the default MText defined in the associated MLeaderStyle is used). 

Sets the MText object to be associated with this MLeader. 

 

The kDefaultMText PropertyOverrideType override will be set as a result of calling this function. The supplied MText object can be DBR or non-DBR.

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