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

Returns the horizontal mode of this Text entity (DXF 72). 

 

horizontalMode returns one of the following: 

 

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