Bitmap.ByteCount Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the minimum number of bytes that can be used to store this bitmap's pixels.
public int ByteCount { [Android.Runtime.Register("getByteCount", "()I", "")] get; }
[<get: Android.Runtime.Register("getByteCount", "()I", "")>]
member this.ByteCount : int
Property Value
- Attributes
Remarks
Returns the minimum number of bytes that can be used to store this bitmap's pixels.
As of android.os.Build.VERSION_CODES#KITKAT
, the result of this method can no longer be used to determine memory usage of a bitmap. See #getAllocationByteCount()
.
Java documentation for android.graphics.Bitmap.getByteCount()
.
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.