Method AddLineStyle
AddLineStyle()
Adds a new LineStyle
to the collection.
public virtual int AddLineStyle()
Returns
- int
Index of the added element.
AddLineStyle(string, Color, Color, Color, int, LineStyleOptions)
Adds a new LineStyle
with specified parameters to the collection.
public virtual int AddLineStyle(string name, Color foreColor, Color backColor, Color penColor, int imageIndex, LineStyleOptions options)
Parameters
name
stringName of new
LineStyle
.foreColor
ColorForeground color of new
LineStyle
.backColor
ColorBackground color of new
LineStyle
.penColor
ColorPen color of new
LineStyle
.imageIndex
intImage index of new
LineStyle
.options
LineStyleOptionsOptions of new
LineStyle
.
Returns
- int
Index of the added element in the
LineStyle
collection.