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
namestringName of new
LineStyle.foreColorColorForeground color of new
LineStyle.backColorColorBackground color of new
LineStyle.penColorColorPen color of new
LineStyle.imageIndexintImage index of new
LineStyle.optionsLineStyleOptionsOptions of new
LineStyle.
Returns
- int
Index of the added element in the
LineStylecollection.
AddLineStyle(string, Color, Color, Color, int, LineStyleOptions)
public virtual int AddLineStyle(string name, Color foreColor, Color backColor, Color penColor, int imageIndex, LineStyleOptions options)