This document is archived and information here might be outdated.  Recommended version.


IHashLineSymbol Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IH > IHashLineSymbol Interface
ArcGIS Developer Help

IHashLineSymbol Interface

Provides access to members that control the hash line symbol.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

IHashLineSymbol draws equal length line segments in a repeated pattern at the specified angle. You can set the HashSymbol (the line symbol of the hash lines) and the Angle. Use the ILineSymbol, ILineProperties, and the ITemplate interfaces to set additional properties for IHashLineSymbols. See the example for how to do this.

Members

Name Description
Read/write property Angle Hash line angle.
Read/write property Color Line symbol color.
Read/write property HashSymbol Line symbol used for hash pattern.
Read/write property Width Line symbol width.

Inherited Interfaces

Interfaces Description
ILineSymbol Provides access to members that control line symbols.

Classes that implement IHashLineSymbol

Classes Description
HashLineSymbol A line symbol for drawing hashed or slanted lines.

Remarks

The HashSymbol property is used to return or set a LineSymbol that draws the hashes across the line path.

The Angle property sets or returns the angle at which the hashes are drawn, relative to the path of the line feature. An angle of 90 degrees will draw all the hashes perpendicular to the path, angles of 0 to 89 degrees will tilt the hash toward the end vertex of the path, and angles of 91 to 180 degrees will tilt the hash toward the start vertex of the path.

The Width property, inherited from ILineSymbol, refers to the length of each hash line, and therefore the actual width of the symbol will be a function of both the Width and Angle properties.

See Also

IPictureLineSymbol Interface | IMultiLayerLineSymbol Interface | IHashLineSymbol Interface | ILineProperties Interface | ITemplate Interface | ICartographicLineSymbol Interface | ILineSymbol Interface