API Reference > OdDb Classes > OdDbTextStyleTableRecord Class > OdDbTextStyleTableRecord Methods > OdDbTextStyleTableRecord::setXScale Method
OdDbTextStyleTableRecord::setXScale Method
Syntax
C++
void setXScale(double xFactor);
Parameters 
Description 
double xFactor 
[in] X-scale factor as a positive non-zero Double value. 

Sets the width scale factor of the text boundary (DXF 41). This factor influences only on the text width and is used for scaling of letters and spaces when the height is constant. A value less than 1.0 condenses the text. A value greater than 1.0 expandes the text. The initial value is 1.0 by default. 

 

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