편집

다음을 통해 공유


Shapes.AddCallout(MsoCalloutType, Single, Single, Single, Single) Method

Definition

Creates a borderless line callout. Returns a Shape object that represents the new callout.

public:
 Microsoft::Office::Interop::Excel::Shape ^ AddCallout(Microsoft::Office::Core::MsoCalloutType Type, float Left, float Top, float Width, float Height);
public Microsoft.Office.Interop.Excel.Shape AddCallout (Microsoft.Office.Core.MsoCalloutType Type, float Left, float Top, float Width, float Height);
Public Function AddCallout (Type As MsoCalloutType, Left As Single, Top As Single, Width As Single, Height As Single) As Shape

Parameters

Type
MsoCalloutType

Required MsoCalloutType. The type of callout line. Can be one of these MsoCalloutType constants:msoCalloutOne. A single-segment callout line that can be either horizontal or vertical.msoCalloutTwo. A single-segment callout line that rotates freely.msoCalloutMixed.msoCalloutThree. A two-segment line.msoCalloutFour. A three-segment line.

Left
Single

Required Single. The position (in points) of the upper-left corner of the callout's bounding box relative to the upper-left corner of the document.

Top
Single

Required Single. The position (in points) of the upper-left corner of the callout's bounding box relative to the upper-left corner of the document.

Width
Single

Required Single. The width of the callout's bounding box, in points.

Height
Single

Required Single. The height of the callout's bounding box, in points.

Returns

Remarks

You can insert a greater variety of callouts by using the AddShape(MsoAutoShapeType, Single, Single, Single, Single) method.

Applies to