Table of Contents

Method AddLineStyle

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

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

name string

Name of new ILineStyle.

foreColor Color

Foreground color of new ILineStyle.

backColor Color

Background color of new ILineStyle.

penColor Color

Pen color of new ILineStyle.

imageIndex int

Image index of new ILineStyle.

options LineStyleOptions

Options of new ILineStyle.

Returns

int

Index of the added element in the ILineStyle collection.