Compartilhar via


Layout.GetLineStart(Int32) Method

Definition

Return the text offset of the beginning of the specified line ( 0…getLineCount()).

[Android.Runtime.Register("getLineStart", "(I)I", "GetGetLineStart_IHandler")]
public abstract int GetLineStart (int line);
[<Android.Runtime.Register("getLineStart", "(I)I", "GetGetLineStart_IHandler")>]
abstract member GetLineStart : int -> int

Parameters

line
Int32

Returns

Attributes

Remarks

Return the text offset of the beginning of the specified line ( 0&hellip;getLineCount()). If the specified line is equal to the line count, returns the length of the text.

Java documentation for android.text.Layout.getLineStart(int).

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