VML V 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.

 

Defines the commands that make up a path. Read/write. String.

Applies To

Path

Tag Syntax

<v: element v=" expression ">

Script Syntax

element .v="expression"

expression=element.v

Remarks

Overrides the Path attribute of a shape. Coordinates can be fixed numbers, relative numbers, or references to formulas (by using the format of "@n" where n is a formula number; for example, "@2" refers to the second formula in the formula array).

VML Standard Attribute

Example

A rectangle is created using the V attribute. Note that a lowercase letter L (lineto command) is used after the first set of comma-delimited coordinates.

   <v:shape id="rect01"
   coordorigin="0 0" coordsize="200 200"
   strokecolor="red"
   style="top:1;left:1;width:50;height:50">
   <v:path id= "myPath" v="m 1,1 l 1,200, 200,200, 200,1 x e"/>
   </v:shape>