Bewerken

Delen via


CanvasShapes.AddCallout Method

Definition

Adds a borderless line callout to a drawing canvas.

public:
 Microsoft::Office::Interop::Word::Shape ^ AddCallout(Microsoft::Office::Core::MsoCalloutType Type, float Left, float Top, float Width, float Height);
public Microsoft.Office.Interop.Word.Shape AddCallout (Microsoft.Office.Core.MsoCalloutType Type, float Left, float Top, float Width, float Height);
abstract member AddCallout : Microsoft.Office.Core.MsoCalloutType * single * single * single * single -> Microsoft.Office.Interop.Word.Shape
Public Function AddCallout (Type As MsoCalloutType, Left As Single, Top As Single, Width As Single, Height As Single) As Shape

Parameters

Type
MsoCalloutType

The type of callout.

Left
Single

The position, in points, of the left edge of the callout's bounding box.

Top
Single

The position, in points, of the top edge of the callout's bounding box.

Width
Single

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

Height
Single

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

Returns

Remarks

You can insert a greater variety of callouts, such as balloons and clouds, using the AddShape(Int32, Single, Single, Single, Single) method.

Applies to