TextView.SetMaxEms(Int32) Method

Definition

Sets the width of the TextView to be at most maxEms wide.

[Android.Runtime.Register("setMaxEms", "(I)V", "GetSetMaxEms_IHandler")]
public virtual void SetMaxEms (int maxEms);
[<Android.Runtime.Register("setMaxEms", "(I)V", "GetSetMaxEms_IHandler")>]
abstract member SetMaxEms : int -> unit
override this.SetMaxEms : int -> unit

Parameters

maxEms
Int32

the maximum width of TextView in terms of ems

Attributes

Remarks

Java documentation for android.widget.TextView.setMaxEms(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