Share via


EndArrowheadLength Property [Publisher 2003 VBA Language Reference]

MsoArrowheadLength

MsoArrowheadLength can be one of these MsoArrowheadLength constants.
msoArrowheadLengthMedium
msoArrowheadLengthMixed Return value only; indicates a combination of the other states in the specified shape range.
msoArrowheadLong
msoArrowheadShort

expression.EndArrowheadLength

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

Remarks

Use the BeginArrowheadLength property to return or set the length 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