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


esriSimpleLineStyle Constants (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

esriSimpleLineStyle Constants

Simple line symbol styles.

Constant Value Description
esriSLSSolid 0 The line is solid.
esriSLSDash 1 The line is dashed -------.
esriSLSDot 2 The line is dotted .......
esriSLSDashDot 3 The line has alternating dashes and dots _._._._.
esriSLSDashDotDot 4 The line has alternating dashes and double dots _.._.._.
esriSLSNull 5 The line is invisible.
esriSLSInsideFrame 6 The line will fit into it's bounding rectangle, if any.

Product Availability

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

.NET Snippets

Create Simple Fill Symbol | Create Simple Line Symbol

.NET Samples

Dynamic biking (Code Files: DynamicBikingCmd) | Executing geoprocessing tools in the background (Code Files: RunGPForm) | Creating a toolbar of globe tools (Code Files: PolylineElement) | StreetMap routing (Code Files: RoutingForm) | Triangle graphic element (Code Files: TriangleElementClass) | Create a custom tool (Code Files: DrawGraphicLine)

.NET Related Topics

Create a custom tool | How to create map grids | How to work with IEllipticArc properties