Jaa


RichEditTextRange.SetRange(Int32, Int32) Method

Definition

Sets the endpoints of the text range to the specified values.

public:
 virtual void SetRange(int startPosition, int endPosition) = SetRange;
void SetRange(int const& startPosition, int const& endPosition);
public void SetRange(int startPosition, int endPosition);
function setRange(startPosition, endPosition)
Public Sub SetRange (startPosition As Integer, endPosition As Integer)

Parameters

startPosition
Int32

int

The character position for the start of the text range. This parameter must be less than endPosition.

endPosition
Int32

int

The character position for the end of the text range.

Implements

M:Windows.UI.Text.ITextRange.SetRange(System.Int32,System.Int32) M:Windows.UI.Text.ITextRange.SetRange(int,int)

Applies to