VML Path Element

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 a path for a shape.

The following attributes modify a shadow.

Attribute Description
Arrowok Determines whether arrowheads will be displayed.
ConnectAngles Specifies how a curve will connect to a connection point.
ConnectLocs Defines the location of connection points on a path.
ConnectType Defines the type of connection point used for attaching shapes to other shapes.
ExtrusionOK Determines whether an extrusion will be displayed.
FillOK Determines whether a fill will be displayed.
GradientShapeOK Determines whether a gradient shape will be displayed.
ID Defines a unique identifier for a path.
Limo Defines a stretch point on the path.
ShadowOK Determines whether a shadow will be displayed.
StrokeOK Determines whether a stroke will be displayed.
TextBoxRect Defines one or more textboxes inside a shape.
TextPathOK Determines whether a textpath will be displayed.
V Defines the commands that make up a path.



This element must be defined within a Shape element.

The following code shows how to define a shape with a path.

   <v:shape strokecolor="red"
   coordorigin="0 0" coordsize="200 200"
   <v:path v="m 1,1 l 1,200, 200,200, 200,1 x e"/>

Note that the V attribute of Path replaces the Path attribute of Shape.




Send comments about this topic to Microsoft

Build date: 2/7/2012

Community Additions