RichTextKit v0.4

Paragraph.GetCaretInfo Method

Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit.Editor
Declaring Type: Paragraph

Get caret position information

public abstract Topten.RichTextKit.CaretInfo GetCaretInfo(Topten.RichTextKit.CaretPosition position);

Remarks

The returned caret info should be relative to the paragraph's content

Parameters

Topten.RichTextKit.CaretPosition position

The caret position

Returns

Topten.RichTextKit.CaretInfo

A CaretInfo struct, or CaretInfo.None