Share via


EndArrowheadStyle Property [Publisher 2003 VBA Language Reference]

MsoArrowheadStyle

MsoArrowheadStyle can be one of these MsoArrowheadStyle constants.
msoArrowheadDiamond
msoArrowheadNone
msoArrowheadOpen
msoArrowheadOval
msoArrowheadStealth
msoArrowheadStyleMixed Return value only; indicates a combination of the other states in the specified shape range.
msoArrowheadTriangle

expression.EndArrowheadStyle

expression Required. An expression that returns one of the objects in the Applies To list.

Remarks

Use the BeginArrowheadStyle property to return or set the style of the arrowhead at the beginning of the line.

Example

This example adds a line to the active publication. There's a short, narrow oval on the line's starting point and a long, wide triangle on its end point.

With ActiveDocument.Pages(1).Shapes _
        .AddLine(BeginX:=100, BeginY:=100, _
        EndX:=200, EndY:=300).Line
    .BeginArrowheadLength = msoArrowheadShort
    .BeginArrowheadStyle = msoArrowheadOval
    .BeginArrowheadWidth = msoArrowheadNarrow
    .EndArrowheadLength = msoArrowheadLong
    .EndArrowheadStyle = msoArrowheadTriangle
    .EndArrowheadWidth = msoArrowheadWide
End With

Applies to | LineFormat Object