CalloutFormat 属性 (Excel)CalloutFormat.Accent property (Excel)

用户可放置垂直的强调线以将标注文字与标注线分开。Allows the user to place a vertical accent bar to separate the callout text from the callout line. 读/写**MsoTriState**。Read/write MsoTriState.



_表达式_一个代表**CalloutFormat** 对象的变量。expression A variable that represents a CalloutFormat object.


垂直强调线将标注文字与标注线分开。A vertical accent bar separates the callout text from the callout line.


本示例向_myDocument_中添加一个椭圆和一个指向椭圆的标注。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 = Worksheets(1) 
With myDocument.Shapes 
    .AddShape msoShapeOval, 180, 200, 280, 130 
    With .AddCallout(msoCalloutTwo, 420, 170, 170, 40) 
        .TextFrame.Characters.Text = "My oval" 
        With .Callout 
            .Accent = msoTrue 
            .Border = False 
        End With 
    End With 
End With

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.