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 Line Symbol | Create Simple Fill Symbol | Add Graphic to Map |

.NET Samples

Create a custom tool (Code Files: DrawGraphicLine) | Creating a toolbar of globe tools (Code Files: PolylineElement) | Custom UI elements using add-ins (Code Files: AddGraphicsTool) | Dynamic biking (Code Files: DynamicBikingCmd) | Executing geoprocessing tools in the background (Code Files: RunGPForm) | Triangle graphic element (Code Files: TriangleElementClass) |

.NET Related Topics

Create a custom tool | How to create map grids |