SetArrowheads()

Summary

Sets the arrowhead style used to draw line features.

Syntax

SetArrowheads(string lyr_set_name, string ah_style)

Argument Contents
lyr_set_name Name of the layer or selection set
ah_style "None" for no arrowheads, "Topology" to show arrowheads in the topological direction of the line, or "Flow" to show arrowheads on one-way streets

Notes

  • When used on a selection set, a null value for ah_style indicates that lines of selected features should be drawn with the default arrowhead style for the layer.

  • If lyr_set_name is null, SetArrowheads() operates on the current layer.

Example

// Show arrowheads on main streets only...
SetArrowheads ("Streets|", "None")
SetArrowheads ("Streets|Major Roads", "Flow")

Error Codes

Error Type Meaning
NotFound The layer or selection set does not exist

See Also

Function Summary
GetArrowheads() Gets the style of arrowheads used to draw line features
SetLineColor() Sets the color used to draw line features
SetLineStyle() Sets the line style used to draw line features
SetLineWidth() Sets the line width used to draw line features