WrapFormat Members (Word)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents all the properties for wrapping text around a shape or shape range.

Properties

Name

Description

AllowOverlap

Returns or sets a value that specifies whether a given shape can overlap other shapes. Read/write Long.

Application

Returns an Application object that represents the Microsoft Word application.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

DistanceBottom

Returns or sets the distance (in points) between the document text and the bottom edge of the text-free area surrounding the specified shape. Read/write Single.

DistanceLeft

Returns or sets the distance (in points) between the document text and the left edge of the text-free area surrounding the specified shape. Read/write Single.

DistanceRight

Returns or sets the distance (in points) between the document text and the right edge of the text-free area surrounding the specified shape. Read/write Single.

DistanceTop

Returns or sets the distance (in points) between the document text and the top edge of the text-free area surrounding the specified shape. Read/write Single.

Parent

Returns an Object that represents the parent object of the specified WrapFormat object.

Side

Returns or sets a value that indicates whether the document text should wrap on both sides of the specified shape, on either the left or right side only, or on the side of the shape that's farthest from the page margin.Read/write WdWrapSideType.

Type

Returns the wrap type for the specified shape. Read/write WdWrapType.