API Reference > OdDb Classes > OdDbMText Class > OdDbMText Methods > OdDbMText::setHorizontalMode Method
OdDbMText::setHorizontalMode Method
Syntax
C++
void setHorizontalMode(OdDb::TextHorzMode horizontalMode);
Parameters 
Description 
OdDb::TextHorzMode horizontalMode 
[in] Horizontal mode. 

Sets the horizontal mode of this MText entity (used for DXF 71). 

 

horizontalMode must be one of the following: 

 

Name 
Value 
OdDb::kTextLeft 
OdDb::kTextCenter 
OdDb::kTextRight 
OdDb::kTextAlign 
OdDb::kTextMid 
OdDb::kTextFit 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.