Method GetLineStyle
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.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
intIndex 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
Returns
- ILineStyle
The found line style if the search succeed; otherwise null.