語言

BitmapFactory.Options.InJustDecodeBounds 屬性

定義

若設為 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 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於