Method SetSelectedText
SetSelectedText(string, SelectionType)
Replaces SelectedText by specified text.
public void SetSelectedText(string text, SelectionType selType)
Parameters
textstringNew value of
SelectedText.selTypeSelectionTypeNew type of selection.
SetSelectedText(string, SelectionType, bool)
Replaces SelectedText by specified text.
public virtual void SetSelectedText(string text, SelectionType selType, bool moveToEnd)
Parameters
textstringNew value of
SelectedText.selTypeSelectionTypeNew type of selection.
moveToEndboolSpecifies whether cursor should move to the end of the selection.