Language

Layout.GetOffsetToRightOf(Int32) Method

Definition

Finds the text offset reached by moving the cursor visually to the right.

[Android.Runtime.Register("getOffsetToRightOf", "(I)I", "GetGetOffsetToRightOf_IHandler")]
public virtual int GetOffsetToRightOf(int offset);
[<Android.Runtime.Register("getOffsetToRightOf", "(I)I", "GetGetOffsetToRightOf_IHandler")>]
abstract member GetOffsetToRightOf : int -> int
override this.GetOffsetToRightOf : int -> int

Parameters

offset
Int32

The current cursor offset in the layout text.

Returns

The offset reached by a rightward cursor move, or the input offset when no move is possible.

Attributes

Remarks

Android reference for android.text.Layout.getOffsetToRightOf.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to