VML XScale Attribute

This topic describes VML, a feature that is deprecated as of Windows Internet Explorer 9. Webpages and applications that rely on VML should be migrated to SVG or other widely supported standards.

Note

As of December 2011, this topic has been archived. As a result, it is no longer actively maintained. For more information, see Archived Content. For information, recommendations, and guidance regarding the current version of Windows Internet Explorer, see Internet Explorer Developer Center.

 

Determines whether a straight textpath will be used instead of the shape path. Read/write. VgTriState.

Applies To

TextPath

Tag Syntax

<v: element style="xscale: expression ">

Script Syntax

element .style.xscale="expression"

expression=element.style.xscale

Remarks

If True, the text runs along apath 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>