BitmapFactory.Options.InSampleSize Property

Definition

If set to a value > 1, requests the decoder to subsample the original image, returning a smaller image to save memory.

[Android.Runtime.Register("inSampleSize")]
public int InSampleSize { get; set; }
[<Android.Runtime.Register("inSampleSize")>]
member this.InSampleSize : int with get, set

Property Value

Int32
Attributes

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