Android Guides | Samples

Android.Graphics.Bitmap.CreateBitmap Method

Returns an immutable bitmap from the source bitmap.

Syntax

[Android.Runtime.Register("createBitmap", "(Landroid/graphics/Bitmap;)Landroid/graphics/Bitmap;", "")]
public static Bitmap CreateBitmap (Bitmap src)

Parameters

src

Remarks

Returns an immutable bitmap from the source bitmap. The new bitmap may be the same object as source, or a copy may have been made. It is initialized with the same density as the original bitmap.

[Android Documentation]

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1