BitmapFactory.Options.InJustDecodeBounds 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
若設為 true,解碼器會回傳 null(無位圖),但 out... 欄位仍會被設定,讓呼叫者無需為像素分配記憶體即可查詢位圖。
[Android.Runtime.Register("inJustDecodeBounds")]
public bool InJustDecodeBounds { get; set; }
[<Android.Runtime.Register("inJustDecodeBounds")>]
member this.InJustDecodeBounds : bool with get, set
屬性值
- 屬性
備註
若設為 true,解碼器會回傳 null(無位圖),但 out... 欄位仍會被設定,讓呼叫者無需為像素分配記憶體即可查詢位圖。
Java 文件 android.graphics.BitmapFactory.Options.inJustDecodeBounds。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。