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
- namestring
- Name of new - LineStyle.
- foreColorColor
- Foreground color of new - LineStyle.
- backColorColor
- Background color of new - LineStyle.
- penColorColor
- Pen color of new - LineStyle.
- imageIndexint
- Image index of new - LineStyle.
- optionsLineStyleOptions
- Options of new - LineStyle.
Returns
- int
- Index of the added element in the - LineStylecollection.