Share via


ImageView.GetScaleType Method

Definition

Returns the current ScaleType that is used to scale the bounds of an image to the bounds of the ImageView.

[Android.Runtime.Register("getScaleType", "()Landroid/widget/ImageView$ScaleType;", "GetGetScaleTypeHandler")]
public virtual Android.Widget.ImageView.ScaleType? GetScaleType ();
[<Android.Runtime.Register("getScaleType", "()Landroid/widget/ImageView$ScaleType;", "GetGetScaleTypeHandler")>]
abstract member GetScaleType : unit -> Android.Widget.ImageView.ScaleType
override this.GetScaleType : unit -> Android.Widget.ImageView.ScaleType

Returns

The ScaleType used to scale the image.

Attributes

Remarks

Java documentation for android.widget.ImageView.getScaleType().

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