VML WrapCoords 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 bounding polygon that surrounds a shape. Read/write. String.

Applies To


Tag Syntax

<v: element o:wrapcoords=" expression ">


Describes a comma-delimited list of x and ycoordinates; that is, "x1,y1,x2,y2,x3,y3,..." This is used when text is tightly wrapped around a shape. The default is NULL (an empty string) until the MSO-Wrap-Mode attribute is set to tight or through.

Microsoft Office Extensions Attribute


The shape has a text wrap bounding box that is 5 units larger than the path.

   <v:shape id="rect01" WrapCoords="0,0 0,200, 200,200, 200,0"
   fillcolor="red" strokecolor="red"
   coordorigin="-500 -500" coordsize="1000 1000"
   path="m 5,5 l 5,195, 195,195, 195,5 x e">

Send comments about this topic to Microsoft

Build date: 2/7/2012