XScale Attribute | Internet Development Index |
Determines whether a straight textpath will be used instead of the shape path. Read/write VgTriState.
Applies To
Tag Syntax
<v: element style="xscale:expression">
Script Syntax
element.style.xscale="expression"
expression=element.style.xscale
Remarks
If True, the text runs along a path from left to right along the x value of the lower boundary of the shape. The default value is False.
VML Standard Attribute
Example
The text will appear as if it were drawn on a horizontal line, even though the shape path is a diagonal.
<v:line from="100 100" to="400 400"> <v:fill on="True" color="red"/> <v:path textpathok="True"/> <v:textpath on="True" string="VML Text" style="xscale:true;font:normal normal normal 36pt Arial"/> </v:line>