Share via


ImageView.SetImageBitmap(Bitmap) Method

Definition

Sets a Bitmap as the content of this ImageView.

[Android.Runtime.Register("setImageBitmap", "(Landroid/graphics/Bitmap;)V", "GetSetImageBitmap_Landroid_graphics_Bitmap_Handler")]
public virtual void SetImageBitmap (Android.Graphics.Bitmap? bm);
[<Android.Runtime.Register("setImageBitmap", "(Landroid/graphics/Bitmap;)V", "GetSetImageBitmap_Landroid_graphics_Bitmap_Handler")>]
abstract member SetImageBitmap : Android.Graphics.Bitmap -> unit
override this.SetImageBitmap : Android.Graphics.Bitmap -> unit

Parameters

bm
Bitmap

The bitmap to set

Attributes

Remarks

Sets a Bitmap as the content of this ImageView.

Java documentation for android.widget.ImageView.setImageBitmap(android.graphics.Bitmap).

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