MSO-Wrap-Distance-Right Attribute

HTML (DHTML)

MSO-Wrap-Distance-Right Attribute

Internet Development Index

Defines the distance from the right side of the shape to the text that wraps around it. Read/write String.

Applies To

Shape

Tag Syntax

<v:element style="mso-wrap-distance-right: expression">

Remarks

Note that this attribute is different from the CSS Margin attribute. Margin changes the origin of the shape to include the margin areas, but the wrap-distance in Microsoft Office does not change the origin of the shape.

Microsoft Office Extensions Attribute

Example

The shape has a right wrap-distance of 10 points.

   <v:shape id="rect01"
   fillcolor="red" strokecolor="red"
   coordorigin="-500 -500" coordsize="1000 1000"
   style="position:relative;top:0;left:0;width:100pt;height:100pt;mso-wrap-distance-right:10pt"
   path="m 1,1 l 1,200, 200,200, 200,1 x e">
   </v:shape>