MSO-Wrap-Mode Attribute

HTML (DHTML)

MSO-Wrap-Mode Attribute

Internet Development Index

Defines the wrapping mode for text. Read/write String.

Applies To

Shape

Tag Syntax

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

Remarks

Values include:

Value Description
square Wraps text around shape in a square.
tight Text is wrapped close to the shape.
top-and-bottom Text jumps from top to bottom.
through Text displays through the shape.
none Text doesn't wrap.

Used by Microsoft PowerPoint for saving to HTML to indicate whether word wrap inside an AutoShape is on (square) or off (none).

Microsoft Office Extensions Attribute

Example

The following code indicates that wordwrap inside an AutoShape is turned on in PowerPoint.

   <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-mode:square"
   path="m 1,1 l 1,200, 200,200, 200,1 x e">
   </v:shape>