API Reference > Classes > Essential_Classes > OdBmTextElement Class > OdBmTextElement Methods > OdBmTextElement::setWidth Method
OdBmTextElement::setWidth Method
Syntax
C++
OdResult setWidth(double width);
Parameters 
Description 
double width 
[in] Input text element width.
 

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

Sets the width to this element. 

 

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