ITextRange.EndPosition Property

Definition

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

public:
 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

Int32

int

The end character position.

Remarks

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