Table of contents
TOC
Collapse the table of content
Expand the table of content

LineFormat.EndArrowheadWidth Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

Returns or sets an MsoArrowheadWidth constant indicating the width of the arrowhead at the end of the specified line. Read/write.

Syntax

expression. EndArrowheadWidth

_expression_A variable that represents an LineFormat object.

Return Value

MsoArrowheadWidth

Remarks

Use the BeginArrowheadWidth property to return or set the width of the arrowhead at the beginning of the line.

The EndArrowheadWidth property value can be one of the ** MsoArrowheadWidth** 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 
© 2018 Microsoft