Skip to content

TextSelectionPresentation.TryCreateSpan method

The span covering the part of the selection that falls on this line, in the line’s own coordinates. False when none of it does.

public static bool TryCreateSpan(TextLineLayout line, TextRange documentSelection,
Color foreground, Color background, out TextPaintSpan span)