Method GetLineStyle
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v9.dll
GetLineStyle(int)
Finds the first element in the line style collection located at the specified text line.
public virtual int GetLineStyle(int index)
Parameters
index
intIndex of the text line.
Returns
- int
Index of the found line style if the search succeed; otherwise -1.
GetLineStyle(int, int)
Finds specific linestyle in the line style collection located at the specified text line.
public virtual ILineStyle GetLineStyle(int line, int style)
Parameters
Returns
- ILineStyle
The found line style if the search succeed; otherwise null.