RichTextKit v0.4

StyledText.ApplyStyle Method

Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit
Declaring Type: StyledText

Overwrites the styles of existing text in the text block

public void ApplyStyle(int position, int length, IStyle style);

Parameters

int position

The code point index of the start of the text

int length

The length of the text

IStyle style

The new style to be applied

Subscribe for more like this. No spam, just fun tech stuff :)

Or, find me on Twitter: @toptensoftware.