API Reference > Other Classes > RText Class > RText Methods > RText::setStringContents Method
RText::setStringContents Method
Syntax
C++
void setStringContents(const OdString & stringContents);
Parameters 
Description 
const OdString & stringContents 
[in] String contents. 

Sets the string contents of this RText entity.

If !isStringExpression(), the string contents specify the name of the file to be displayed.

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