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.

Applies To

Path

Tag Syntax

<v: element textpathok=" expression ">

Script Syntax

element . textpathok= "expression"

expression=element. textpathok

Remarks

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

Example

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>


 

 

Send comments about this topic to Microsoft

Build date: 2/7/2012

Community Additions

ADD
Show: