Share via


BeginArrowheadWidth Property [Publisher 2003 VBA Language Reference]

MsoArrowheadWidth

MsoArrowheadWidth can be one of these MsoArrowheadWidth constants.
msoArrowheadNarrow
msoArrowheadWide
msoArrowheadWidthMedium
msoArrowheadWidthMixed Return value only; indicates a combination of the other states in the specified shape range.

expression.BeginArrowheadWidth

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

Remarks

Use the EndArrowheadWidth property to return or set the width of the arrowhead at the end 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