RichTextKit v0.4

StyledText.GetStyleAtOffset Method

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

Gets the style of the text at a specified offset

public IStyle GetStyleAtOffset(int offset);

Remarks

When on a style run boundary, returns the style of the preceeding run

Parameters

int offset

The code point offset in the text

Returns

IStyle

An IStyle