Table of Contents

Method GetLineStyle

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

GetLineStyle(int)

When implemented by a class, finds the first element in the line style collection located at the specified text line.

int GetLineStyle(int index)

Parameters

index int

Index of the text line.

Returns

int

Index of the found line style if the search succeed; otherwise -1.

GetLineStyle(int, int)

When implemented by a class, finds specific linestyle in the line style collection located at the specified text line.

ILineStyle GetLineStyle(int line, int style)

Parameters

line int

Index of the text line.

style int

Index of the line style.

Returns

ILineStyle

The found line style if the search succeed; otherwise null.