ImageView.SetScaleType(ImageView+ScaleType) ImageView.SetScaleType(ImageView+ScaleType) Method

Definition

Controls how the image should be resized or moved to match the size of this ImageView.

[Android.Runtime.Register("setScaleType", "(Landroid/widget/ImageView$ScaleType;)V", "GetSetScaleType_Landroid_widget_ImageView_ScaleType_Handler")]
public virtual void SetScaleType (Android.Widget.ImageView.ScaleType scaleType);
abstract member SetScaleType : Android.Widget.ImageView.ScaleType -> unit
override this.SetScaleType : Android.Widget.ImageView.ScaleType -> unit

Parameters

scaleType
ImageView.ScaleType ImageView.ScaleType

The desired scaling mode.

Remarks

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