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


ISimpleLineSymbol.Style Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

ISimpleLineSymbol.Style Property

The style of the line symbol.

[Visual Basic .NET]
Public Property Style As esriSimpleLineStyle
[C#]
public esriSimpleLineStyle Style {get; set;}
[C++]
HRESULT get_Style(
  esriSimpleLineStyle* Style
);
[C++]
HRESULT put_Style(
  esriSimpleLineStyle Style
);
[C++]

Parameters Style [out, retval]
Style is a parameter of type esriSimpleLineStyle Style [in]
Style is a parameter of type esriSimpleLineStyle

Product Availability

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

Description

Style is the enumeration that controls the pattern used as the line.  The avaialble line options include: esriSLSDash, esriSLSDashDot, esriSLSDashDotDot, esriSLSDot, esriSLSInsideFrame, esriSLSNull and esriSLSSolid. esriSLSSolid is the default Style.

Remarks

ESRISLSInsideFrame is not implemented.

See Also

ISimpleLineSymbol Interface

.NET Snippets

Create Simple Fill Symbol | Add Graphic to Map | Create Simple Line Symbol

.NET Samples

Dynamic biking (Code Files: DynamicBikingCmd) | Custom UI elements using add-ins (Code Files: AddGraphicsTool) | Executing geoprocessing tools in the background (Code Files: RunGPForm) | Creating a toolbar of globe tools (Code Files: PolylineElement) | 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