CanvasShapes.AddCallout Method
Word Developer Reference |
Adds a borderless line callout to a drawing canvas. Returns a Shape object that represents the callout.
Syntax
expression.AddCallout(Type, Left, Top, Width, Height)
expression Required. A variable that represents a CanvasShapes collection.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Type | Required | MsoCallout | The type of callout. |
Left | Required | Single | The position, in points, of the left edge of the callout's bounding box. |
Top | Required | Single | The position, in points, of the top edge of the callout's bounding box. |
Width | Required | Single | The width, in points, of the callout's bounding box. |
Height | Required | Single | The height, in points, of the callout's bounding box. |
Remarks
You can insert a greater variety of callouts, such as balloons and clouds, using the AddShape method.
Example
This example adds a callout to a newly created drawing canvas.
Visual Basic for Applications |
---|
|
See Also