Method SetTextStyle
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v9.dll
SetTextStyle(ref StringItemInfo[], int, int, TextStyle)
Sets text style to text fragment.
public static void SetTextStyle(ref StringItemInfo[] textData, int start, int len, TextStyle style)
Parameters
textData
StringItemInfo[]Retrieves style information.
start
intSpecifies the first character in the string.
len
intSpecifies number of characters in the string.
style
TextStyleSpecifies style to set.
SetTextStyle(int, int, TextStyle)
Sets style information to specified part of string.
public virtual void SetTextStyle(int start, int len, TextStyle style)