BeginArrowhead property

Returns or sets whether an arrowhead is at the beginning point of a line or freeform shape. The Type property of the Shape object to which the formatting applies must be geoFreeform or geoLine. Read/write Boolean.

Applies to

Objects:  LineFormat

Syntax

object.BeginArrowhead

Parameters

Part Description
object Required. An expression that returns a LineFormat object.

Example

    Sub AddArrowToLine()

  Dim objApp As New MapPoint.Application   Dim objMap As MapPoint.Map   Dim objLoc1 As MapPoint.Location   Dim objLoc2 As MapPoint.Location
  'Set up the application   Set objMap = objApp.ActiveMap   objApp.Visible = True   objApp.UserControl = True
  'Get two locations and zoom in   Set objLoc1 = objMap.FindResults("Seattle, WA").Item(1)   Set objLoc2 = objMap.FindResults("Redmond, WA").Item(1)   Set objMap.Location = objLoc1
  'Create a line, then give it an arrowhead at its start   objMap.Shapes.AddLine objLoc1, objLoc2   objMap.Shapes.Item(1).Line.BeginArrowhead = True
  End Sub

Note  This sample code is specific for use in MapPoint North America; it is for illustration purposes only.