Table of Contents

Method SetSelection

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SetSelection(long, long)

Sets the selection to the given range. The end point of range is specified as the last character position of the span of text, plus one. So, for example, to set the selection for a character at position 5, use the range (5,6).

public virtual void SetSelection(long from, long to)

Parameters

from long
to long