共用方式為


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

Returns

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