ITextRange.SetText(TextSetOptions, String) ITextRange.SetText(TextSetOptions, String) ITextRange.SetText(TextSetOptions, String) ITextRange.SetText(TextSetOptions, String) Method

Definition

Replaces the text in the text range.

public : void SetText(TextSetOptions options, Platform::String value)
void SetText(TextSetOptions options, winrt::hstring value) const;
public void SetText(TextSetOptions options, String value)
Public Sub SetText(options As TextSetOptions, value As String)

Parameters

options
TextSetOptions TextSetOptions

The conversion flags that control how the text is inserted in the text range.

value
String String

The new text.

Remarks

If value is null, the text in the range is deleted.

See also