API Reference > OdDb Classes > OdDbDimension Class > OdDbDimension Methods > OdDbDimension::setTextPosition Method
OdDbDimension::setTextPosition Method
Syntax
C++
void setTextPosition(const OdGePoint3d& textPosition);
Parameters 
Description 
const OdGePoint3d& textPosition 
[in] Text position. 

Sets the position of the dimension text for this Dimension entity (DXF 11 as WCS). 

 

This position is the middle center point of the dimension text, which is itself a middle-center justified MText entity.

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