AddLineStyle Method
AddLineStyle()
When implemented by a class, adds a new ILineStyle
to the collection.
Declaration
int AddLineStyle()
Returns
Type | Description |
---|---|
Int32 | Index of the added element. |
AddLineStyle(String, Color, Color, Color, Int32, LineStyleOptions)
When implemented by a class, adds a new ILineStyle
with specified parameters to the collection.
Declaration
int AddLineStyle(string name, Color foreColor, Color backColor, Color penColor, int imageIndex, LineStyleOptions options)
Parameters
Type | Name | Description |
---|---|---|
String | name | Name of new |
Color | foreColor | Foreground color of new |
Color | backColor | Background color of new |
Color | penColor | Pen color of new |
Int32 | imageIndex | Image index of new |
LineStyleOptions | options | Options of new |
Returns
Type | Description |
---|---|
Int32 | Index of the added element in the |