API Reference > OdDb Classes > OdDbMText Class > OdDbMText Methods > OdDbMText::setContents Method
OdDbMText::setContents Method
Syntax
C++
int setContents(const OdString& text);
Parameters 
Description 
const OdString& text 
[in] New character content. 

Sets the character content of this MText entity (DXF 1 & 3). 

 

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