PowerPoint VBA教程:BeginArrowheadStyle属性

返回或设置指定线条开头的箭头样式。可读写。MsoArrowheadStyle 类型。

MsoArrowheadStyle 可以是下列 MsoArrowheadStyle 类型常数之一。
msoArrowheadDiamond
msoArrowheadNone
msoArrowheadOpen
msoArrowheadOval
msoArrowheadStealth
msoArrowheadStyleMixed
msoArrowheadTriangle

expression.BeginArrowheadStyle

expression  必选。该表达式返回“应用于”列表中的对象之一。

VBA示例

本示例在myDocument 中添加一条线。在该线条的起点有一个短而窄的椭圆,在终点有一个长而宽的三角形。


Set myDocument = ActivePresentation.Slides(1)
With myDocument.Shapes.AddLine(100, 100, 200, 300).Line
    .BeginArrowheadLength = msoArrowheadShort
    .BeginArrowheadStyle = msoArrowheadOval
    .BeginArrowheadWidth = msoArrowheadNarrow
    .EndArrowheadLength = msoArrowheadLong
    .EndArrowheadStyle = msoArrowheadTriangle
    .EndArrowheadWidth = msoArrowheadWide
End With

上页:PowerPoint VBA教程:BeginArrowheadLength属性 下页:PowerPoint VBA教程:BeginArrowheadWidth属性

PowerPoint VBA教程:BeginArrowheadStyle属性

PowerPoint VBA教程:BeginArrowheadWidth属性 PowerPoint VBA教程:BeginConnected属性
PowerPoint VBA教程:BeginConnectedShape属性 PowerPoint VBA教程:BeginConnectionSite属性
PowerPoint VBA教程:Behaviors属性 PowerPoint VBA教程:Black Property
PowerPoint VBA教程:BlackAndWhite属性 PowerPoint VBA教程:BlackWhiteMode属性
PowerPoint VBA教程:Bold属性 PowerPoint VBA教程:Border属性
PowerPoint VBA教程:Borders属性 PowerPoint VBA教程:BoundHeight属性
PowerPoint VBA教程:BoundLeft属性 PowerPoint VBA教程:BoundTop属性
PowerPoint VBA教程:BoundWidth属性 PowerPoint VBA教程:Brightness属性
PowerPoint VBA教程:Build属性 PowerPoint VBA教程:BuildByLevelEffect属性
PowerPoint VBA教程:BuiltInDocumentProperties属性 PowerPoint VBA教程:Bullet属性
版权所有 © 中山市飞娥软件工作室 证书:粤ICP备09170368号