Table of Contents

Method SetTextStyle

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.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 int

Specifies the first character in the string.

len int

Specifies number of characters in the string.

style TextStyle

Specifies 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)

Parameters

start int

Specifies the first character in string to set.

len int

Specifies number of characters in string to set.

style TextStyle

Specifies TextStyle to set.