編輯

共用方式為


CalloutFormat Interface

Definition

Contains properties and methods that apply to line callouts.

public interface class CalloutFormat : Microsoft::Office::Core::_IMsoDispObj
[System.Runtime.InteropServices.Guid("000C0311-0000-0000-C000-000000000046")]
public interface CalloutFormat : Microsoft.Office.Core._IMsoDispObj
Public Interface CalloutFormat
Implements _IMsoDispObj
Attributes
Implements

Remarks

Use the Callout property to return a CalloutFormat object.

Properties

Accent

Allows the user to place a vertical accent bar to separate the callout text from the callout line.

Angle

Returns or sets the angle of the callout line.

Application

Returns an Application object that represents the Microsoft Excel application.

AutoAttach

True 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

Applies only to callouts whose lines consist of more than one segment (types msoCalloutThree and msoCalloutFour).

Border

Represents the visibility options for the border of the object.

Creator

Returns a 32-bit integer that indicates the application in which this object was created.

Drop

For callouts with an explicitly set drop value, 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 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, 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 for the specified object.

Type

Returns or sets the callout format 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) retains 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