API Reference > OdDb Classes > OdDbMText Class > OdDbMText Methods > OdDbMText::setDirection Method
OdDbMText::setDirection Method
Syntax
C++
void setDirection(const OdGeVector3d& direction);
Parameters 
Description 
const OdGeVector3d& direction 
[in] Direction vector. 

Sets the WCS X-axis direction vector of this MText entity (DXF 11). 

 

Direction and rotation are equivalent, and only one need be set when creating (or modifying) an MText entity.

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