Language

Layout.Builder.SetEllipsizedWidth(Int32) Method

Definition

Set the width as used for ellipsizing purpose in pixels.

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

Parameters

ellipsizeWidth
Int32

a ellipsizing width in pixels. Value is 0 or greater

Returns

this builder instance. This value cannot be null.

Attributes

Remarks

Set the width as used for ellipsizing purpose in pixels. The passed value is ignored and forced to set to the value of width constraint passed in constructor if no ellipsize option is set. The default value is the width constraint.

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

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