CalloutFormat.Accent Property
Determines whether a vertical accent bar separates the callout text from the callout line. Read/write.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Property Accent As MsoTriState
Get
Set
'Usage
Dim instance As CalloutFormat
Dim value As MsoTriState
value = instance.Accent
instance.Accent = value
MsoTriState Accent { get; set; }
Property Value
Type: Microsoft.Office.Core.MsoTriState
MsoTriState
Remarks
The value of the Accent property can be one of these MsoTriState constants.
Constant |
Description |
---|---|
msoFalse |
A vertical accent bar does not separate the callout text from the callout line. |
msoTrue |
A vertical accent bar separates the callout text from the callout line. |
Examples
This example adds to myDocument an oval and a callout that points to the oval. The callout text won't have a border, but it will 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