constant that indicates whether text should wrap around a shape. Read/write.
PbWrapSideType can be one of these PbWrapSideType constants. |
pbWrapSideBoth |
pbWrapSideLarger |
pbWrapSideLeft |
pbWrapSideMixed |
pbWrapSideNeither |
pbWrapSideRight |
expression.Side
expression Required. An expression that returns one of the objects in the Applies To list.
Example
This example adds an oval to the first page of the active publication and specifies that text wrap around both the left and right sides of the oval.
Sub SetTextWrapFormatProperties()
With ActiveDocument.Pages(1).Shapes.AddShape(Type:=msoShapeOval, _
Left:=36, Top:=36, Width:=100, Height:=35)
With .TextWrap
.Type = pbWrapTypeSquare
.Side = pbWrapSideBoth
End With
End With
End Sub