VML TextPathOK 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 text path will be displayed. Read/write. VgTriState.
<v: element textpathok=" expression ">
element . textpathok= "expression"
If False, the path cannot have a text path. The default is False. You must have this attribute set to True to display text on a path.
VML Standard Attribute
The shape has a text path. The text "Hello VML" is displayed along a smile-shaped curve.
<v:curve id="tc" style="position:relative" from="50px 100px" to="400px 100px" control1="200px 200px" control2="300px 200px"> <v:stroke weight="1pt" color="blue" filltype="solid"/> <v:fill on="True" color="yellow" color2="green" type="gradient"/> <v:path textpathok="True"/> <v:textpath on="True" id="mytp" style="font:normal normal normal 36pt Arial" fitpath="True" string="Hello VML"/> </v:curve>
Build date: 2/7/2012