ITextRange.EndPosition Property


Gets or sets the end character position of the text range.

 property int EndPosition { int get(); void set(int value); };
int EndPosition();

void EndPosition(int value);
public int EndPosition { get; set; }
var int32 = iTextRange.endPosition;
iTextRange.endPosition = int32;
Public Property EndPosition As Integer

Property Value



The end character position.


A text range object remains valid when the text is edited, but a character position is volatile. That is, a character position becomes invalid when text is inserted or deleted before the character position. Be careful when using character positions, especially if you store them for a significant length of time.

Applies to