TextPath Example

Red text is drawn along a gray path.

Example

Code

<!-- Include the VML behavior -->
<style>v\: * { behavior: url(#default#VML);display:inline-block }</style>

<!-- Declare the VML namespace -->
<xml:namespace ns="urn:schemas-microsoft-com:vml" prefix="v"/>

<v:line from="50 110" to="400 10">
  <v:fill on="True" color="red"/>
  <v:path textpathok="True"/>
  <v:textpath on="True" string="VML Text" style="font:normal normal normal 36pt Arial"/>
</v:line>

<v:line from="50 110" to="400 10">
  <v:fill on="True" color="blue"/>
</v:line>