API Reference > Classes > Essential_Classes > OdBmTextNote Class > OdBmTextNote Methods > OdBmTextNote::setRtfText Method
OdBmTextNote::setRtfText Method
Syntax
C++
OdResult setRtfText(const OdAnsiString& rtfText);
Parameters 
Description 
const OdAnsiString& rtfText 
[in] Input ansi string.
 

eOk if the operation completed successfully, or an appropriate error code otherwise.

Sets the text in rich text format from an OdAnsiString. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.