Table of Contents

Method AddLineStyle

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v9.dll

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

name string

Name of new LineStyle.

foreColor Color

Foreground color of new LineStyle.

backColor Color

Background color of new LineStyle.

penColor Color

Pen color of new LineStyle.

imageIndex int

Image index of new LineStyle.

options LineStyleOptions

Options of new LineStyle.

Returns

int

Index of the added element in the LineStyle collection.