FitPath Attribute

HTML (DHTML)

FitPath Attribute

Internet Development Index

Defines whether the text fits the path of a shape. Read/write VgTriState.

Applies To

TextPath

Tag Syntax

<v: element fitpath="expression">

Script Syntax

element.fitpath="expression"

expression=element.fitpath

Remarks

If True, sizes the text to fill the path it lies out on. The default is False.

VML Standard Attribute

Example

The text will fit the path.

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