Language

Layout.GetEllipsisCount(Int32) Method

Definition

Returns the number of characters to be ellipsized away, or 0 if no ellipsis is to take place.

[Android.Runtime.Register("getEllipsisCount", "(I)I", "GetGetEllipsisCount_IHandler")]
public abstract int GetEllipsisCount(int line);
[<Android.Runtime.Register("getEllipsisCount", "(I)I", "GetGetEllipsisCount_IHandler")>]
abstract member GetEllipsisCount : int -> int

Parameters

line
Int32

The zero-based index of the line.

Returns

The number of characters hidden by ellipsis processing on the line, or zero when none are hidden.

Attributes

Remarks

Returns the number of characters to be ellipsized away, or 0 if no ellipsis is to take place.

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