Język

StaticLayout.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 override int GetLineStart(int line);
[<Android.Runtime.Register("getLineStart", "(I)I", "GetGetLineStart_IHandler")>]
override this.GetLineStart : int -> int

Parameters

line
Int32

Returns

Attributes

Remarks

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

Android reference for android.text.StaticLayout.getLineStart.

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