Font-Family Attribute

Internet Development Index

Defines the family of the textpath font. Read/write String.

Applies To

TextPath

Tag Syntax

<v: element style="font-family:expression">

Script Syntax

element.style.fontfamily="expression"

expression=element.style.fontfamily

Remarks

Defines the font name. Specific names such as Arial can be used or generic types such as serif, sans-serif, cursive, fantasy, or monospace. The values are the same as the standard HTML style attributes.

VML Standard Attribute

Example

The font family of the text is Arial.

   <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"
   style="font:normal normal normal 36pt Arial"/>
   </v:line>