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