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. 

 

Example of Working with the Text Style Record Object 

Specific Properties of Text Styles 

OdDbTextStyleTableRecord::xScale() method

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