Method SetTextStyle
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v10.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
textDataStringItemInfo[]Retrieves style information.
startintSpecifies the first character in the string.
lenintSpecifies number of characters in the string.
styleTextStyleSpecifies 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)