This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IH > IHashLineSymbol Interface (ArcObjects .NET 10.4 SDK) |
Provides access to members that control the hash line symbol.
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.
Description | ||
---|---|---|
Angle | Hash line angle. | |
Color | Line symbol color. | |
HashSymbol | Line symbol used for hash pattern. | |
Width | Line symbol width. |
Interfaces | Description |
---|---|
ILineSymbol | Provides access to members that control line symbols. |
CoClasses and Classes | Description |
---|---|
HashLineSymbol | A line symbol for drawing hashed or slanted lines. |
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.
IPictureLineSymbol Interface | IMultiLayerLineSymbol Interface | IHashLineSymbol Interface | ILineProperties Interface | ITemplate Interface | ICartographicLineSymbol Interface | ILineSymbol Interface