API Reference > OdDb Classes > OdDbMText Class > OdDbMText Methods > OdDbMText::setBackgroundScaleFactor Method
OdDbMText::setBackgroundScaleFactor Method
Syntax
C++
void setBackgroundScaleFactor(const double scaleFactor);
Parameters 
Description 
const double scaleFactor 
[in] Background scale factor. [1..5] 

Sets the background scale factor of this MText entity (DXF 45). 

 

The filled background area is extended by (ScaleFactor - 1) * TextHeight in all directions.

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