Android.Graphics.BitmapFactory.DecodeResourceStream Method
Decode a new Bitmap from an InputStream.

Syntax

[Android.Runtime.Register("decodeResourceStream", "(Landroid/content/res/Resources;Landroid/util/TypedValue;Ljava/io/InputStream;Landroid/graphics/Rect;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;", "")]
public static Bitmap DecodeResourceStream (Android.Content.Res.Resources res, Android.Util.TypedValue value, System.IO.Stream is, Rect pad, BitmapFactory.Options opts)

Parameters

res
Documentation for this section has not yet been entered.
value
Documentation for this section has not yet been entered.
is
Documentation for this section has not yet been entered.
pad
Documentation for this section has not yet been entered.
opts
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Decode a new Bitmap from an InputStream. This InputStream was obtained from resources, which we pass to be able to scale the bitmap accordingly.

[Android Documentation]

Requirements

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