API Reference > OdDg Classes > OdDgText2d Class > OdDgText2d Methods > OdDgText2d::applyTextStyle Method
OdDgText2d::applyTextStyle Method
Syntax
C++
virtual bool applyTextStyle(OdDgElementId idTextStyle, bool bActiveModelUnitsForNonDBRO = true, double dActualUORsToMasterScale = -1.0);

Applies TextStyle settings to Text element. Attention: it should be called only after adding element to model

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