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
namestringName of new
ILineStyle.foreColorColorForeground color of new
ILineStyle.backColorColorBackground color of new
ILineStyle.penColorColorPen color of new
ILineStyle.imageIndexintImage index of new
ILineStyle.optionsLineStyleOptionsOptions of new
ILineStyle.
Returns
- int
Index of the added element in the
ILineStylecollection.