WrapCoords Attribute

HTML (DHTML)

WrapCoords Attribute

Internet Development Index

Defines the bounding polygon that surrounds a shape. Read/write String.

Applies To

Shape

Tag Syntax

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

Remarks

Describes a comma-delimited list of x and y coordinates; 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

Example

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"
   style="position:relative;top:0;left:0;width:100pt;height:100pt;mso-wrap-distance-top:10pt"
   path="m 5,5 l 5,195, 195,195, 195,5 x e">
   </v:shape>