Language

Layout.Builder.SetMaxLines(Int32) Method

Definition

Set the maximum number of lines.

[Android.Runtime.Register("setMaxLines", "(I)Landroid/text/Layout$Builder;", "", ApiSince=35)]
public Android.Text.Layout.Builder SetMaxLines(int maxLines);
[<Android.Runtime.Register("setMaxLines", "(I)Landroid/text/Layout$Builder;", "", ApiSince=35)>]
member this.SetMaxLines : int -> Android.Text.Layout.Builder

Parameters

maxLines
Int32

maximum number of lines in the layout. Value is 1 or greater

Returns

this builder instance. This value cannot be null.

Attributes

Remarks

Set the maximum number of lines. The default value is unlimited.

Android reference for android.text.Layout.Builder.setMaxLines.

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