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。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。