編輯

共用方式為


CalloutFormat Interface

Definition

Contains properties and methods that apply to line callouts.

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

Remarks

Use the Callout property to return a CalloutFormat object.

Properties

Accent

Returns or sets a value that indicates if a vertical accent bar separates the callout text from the callout line.

Angle

Returns or sets a value that indicates the angle of the callout line.

Application

Returns a Application object that represents the Microsoft Word application.

AutoAttach

Returns or sets a value that indicates if the place where the callout line attaches to the callout text box changes depending on whether the origin of the callout line (where the callout points to) is to the left or right of the callout text box.

AutoLength

Returns a value that indicates whether to automatically set the length of the callout line.

Border

Returns or sets a value that indicates whether the text in the specified callout is surrounded by a border.

Creator

Returns a value that indicates the application in which the specified object was created.

Drop

For callouts with an explicitly set drop value, this property returns the vertical distance (in points) from the edge of the text bounding box to the place where the callout line attaches to the text box.

DropType

Returns a value that indicates where the callout line attaches to the callout text box.

Gap

Returns or sets a value that indicates the horizontal distance (in points) between the end of the callout line and the text bounding box.

Length

When the AutoLength property of the specified callout is set to False, the Length property returns the length (in points) of the first segment of the callout line (the segment attached to the text callout box).

Parent

Returns the parent object of the specified object.

Type

Returns or sets a value that indicates the callout type.

Methods

AutomaticLength()

Specifies that the first segment of the callout line (the segment attached to the text callout box) be scaled automatically when the callout is moved.

CustomDrop(Single)

Sets the vertical distance (in points) from the edge of the text bounding box to the place where the callout line attaches to the text box.

CustomLength(Single)

Specifies that the first segment of the callout line (the segment attached to the text callout box) retain a fixed length whenever the callout is moved.

PresetDrop(MsoCalloutDropType)

Specifies whether the callout line attaches to the top, bottom, or center of the callout text box or whether it attaches at a point that's a specified distance from the top or bottom of the text box.

Applies to