BitmapFactory.Options.InJustDecodeBounds Property

Definition

If set to true, the decoder will return null (no bitmap), but the out... fields will still be set, allowing the caller to query the bitmap without having to allocate the memory for its pixels.

[Android.Runtime.Register("inJustDecodeBounds")]
public bool InJustDecodeBounds { get; set; }
[<Android.Runtime.Register("inJustDecodeBounds")>]
member this.InJustDecodeBounds : bool with get, set

Property Value

Attributes

Remarks

If set to true, the decoder will return null (no bitmap), but the out... fields will still be set, allowing the caller to query the bitmap without having to allocate the memory for its pixels.

Java documentation for android.graphics.BitmapFactory.Options.inJustDecodeBounds.

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