CalloutFormat.Border property (PowerPoint)
Determines whether the text in the specified callout is surrounded by a border. Read/write.
Syntax
expression.Border
expression A variable that represents a CalloutFormat object.
Return value
MsoTriState
Remarks
The value of the Border property can be one of these MsoTriState constants.
Constant | Description |
---|---|
msoFalse | The text in the specified callout is not surrounded by a border. |
msoTrue | The text in the specified callout is surrounded by a border. |
Example
This example adds to myDocument an oval and a callout that points to the oval. The callout text does not have a border, but it does have a vertical accent bar that separates the text from the callout line.
Set myDocument = ActivePresentation.Slides(1)
With myDocument.Shapes
.AddShape msoShapeOval, 180, 200, 280, 130
With .AddCallout(msoCalloutTwo, 420, 170, 170, 40)
.TextFrame.TextRange.Text = "My oval"
With .Callout
.Accent = msoTrue
.Border = msoFalse
End With
End With
End With
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for