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

Sets the character content of this MText entity (DXF 1 & 3) from the RTF-encoded text string. 

 

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