SimpleLineSymbol

Base Type: LineSymbol

A class for a linear symbol constructed from a predefined line style.

Property

Type

Description

Style

esriSimpleLineStyle

The style of the line.

Remarks

It inherits all properties from LineSymbol.

This symbol can be used to display a line as a basic series of dots and dashes or as a solid line.

Style property determines which style of the line is used. It can be set to one of six basic line patterns by using the esriSimpleLineSyle constants.

Enumeration: esriSimpleLineStyle

Simple line styles

0 - esriSLSSolid

The line is solid.

1 - esriSLSDash

The line is dashed – – –

2 - esriSLSDot

The line is dotted ......

3 - esriSLSDashDot

The line has alternating dashes and dots _._._.

4 - esriSLSDashDotDot

The line has alternating dashes and double dots _.._.._..

5 - esriSLSNull

The line is invisible.

NoteNote:

You should use only the "esriSLSSolid" style to draw lines with a width greater than 1.

2/28/2020