Layout.GetLineMax(Int32) Method

Definition

Gets the unsigned horizontal extent of the specified line, including leading margin indent, but excluding trailing whitespace.

[Android.Runtime.Register("getLineMax", "(I)F", "GetGetLineMax_IHandler")]
public virtual float GetLineMax (int line);
[<Android.Runtime.Register("getLineMax", "(I)F", "GetGetLineMax_IHandler")>]
abstract member GetLineMax : int -> single
override this.GetLineMax : int -> single

Parameters

line
Int32

Returns

Attributes

Remarks

Gets the unsigned horizontal extent of the specified line, including leading margin indent, but excluding trailing whitespace.

Java documentation for android.text.Layout.getLineMax(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