TextView.TextScaleX Property

Definition

Gets the extent by which text should be stretched horizontally. -or- Sets the horizontal scale factor for text.

public virtual float TextScaleX { [Android.Runtime.Register("getTextScaleX", "()F", "GetGetTextScaleXHandler")] get; [Android.Runtime.Register("setTextScaleX", "(F)V", "GetSetTextScaleX_FHandler")] set; }
[<get: Android.Runtime.Register("getTextScaleX", "()F", "GetGetTextScaleXHandler")>]
[<set: Android.Runtime.Register("setTextScaleX", "(F)V", "GetSetTextScaleX_FHandler")>]
member this.TextScaleX : single with get, set

Property Value

The horizontal scale factor.

Attributes

Remarks

Property getter documentation:

Gets the extent by which text should be stretched horizontally. This will usually be 1.0.

Java documentation for android.widget.TextView.getTextScaleX().

Property setter documentation:

Sets the horizontal scale factor for text. The default value is 1.0. Values greater than 1.0 stretch the text wider. Values less than 1.0 make the text narrower. By default, this value is 1.0.

Java documentation for android.widget.TextView.setTextScaleX(float).

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