Compartilhar via


CalloutFormat.Accent Property

Word Developer Reference

True if a vertical accent bar separates the callout text from the callout line. Read/write MsoTriState.

Syntax

expression.Accent

expression   A variable that represents a CalloutFormat object.

Example

This example adds an oval to the active document 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.

Visual Basic for Applications
  Dim shapeCallout As Shape

With ActiveDocument.Shapes .AddShape msoShapeOval, 180, 200, 280, 130 Set shapeCallout = .AddCallout(msoCalloutTwo, 420, 170, 170, 40)

With shapeCallout
    .TextFrame.TextRange.Text = "My oval"
    .Callout.<strong class="bterm">Accent</strong> = msoTrue
    .Callout.Border = msoFalse
End With

End With

See Also