編輯

共用方式為


WrapFormat Interface

Definition

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

public interface class WrapFormat
[System.Runtime.InteropServices.Guid("000209C3-0000-0000-C000-000000000046")]
public interface WrapFormat
type WrapFormat = interface
Public Interface WrapFormat
Attributes

Remarks

Use the WrapFormat property of a Shape or ShapeRange object to return the WrapFormat object.

Properties

AllowOverlap

Returns or sets a value that specifies whether a given shape can overlap other shapes. Can be set to either True or False.

Application

Returns a 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.

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.

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.

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.

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.

Parent

Returns an object that represents the parent object of the specified 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.

Type

Returns the wrap type for the specified shape.

Applies to