LineFormat.EndArrowheadLength property (Publisher)
Returns or sets an MsoArrowheadLength constant indicating the length of the arrowhead at the end of the specified line. Read/write.
Syntax
expression.EndArrowheadLength
expression A variable that represents a LineFormat object.
Return value
MsoArrowheadLength
Remarks
Use the BeginArrowheadLength property to return or set the length of the arrowhead at the beginning of the line.
The EndArrowheadLength property value can be one of the MsoArrowheadLength constants declared in the Microsoft Office type library.
Example
This example adds a line to the active publication. There is a short, narrow oval on the line's starting point and a long, wide triangle on its endpoint.
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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for