Share via


CalloutFormat Interface

Contains properties and methods that apply to line callouts.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
<GuidAttribute("91493485-5A91-11CF-8700-00AA0060263B")> _
Public Interface CalloutFormat
'Usage
Dim instance As CalloutFormat
[GuidAttribute("91493485-5A91-11CF-8700-00AA0060263B")]
public interface CalloutFormat

Examples

Use the Callout property to return a CalloutFormat object. The following example specify the following attributes of shape three (a line callout) on myDocument:

  • The callout will have a vertical accent bar that separates the text from the callout line.

  • The angle between the callout line and the side of the callout text box will be 30 degrees.

  • There will be no border around the callout text.

  • The callout line will be attached to the top of the callout text box.

  • The callout line will contain two segments.

For this example to work, shape three must be a callout.

Set myDocument = ActivePresentation.Slides(1)

With myDocument.Shapes(3).Callout

    .Accent = True

    .Angle = msoCalloutAngle30

    .Border = False

    .PresetDrop msoCalloutDropTop

    .Type = msoCalloutThree

End With

See Also

Reference

CalloutFormat Members

Microsoft.Office.Interop.PowerPoint Namespace