次の方法で共有


BitmapFactory.Options.OutHeight Property

Definition

The resulting height of the bitmap.

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

Property Value

Attributes

Remarks

The resulting height of the bitmap. If #inJustDecodeBounds is set to false, this will be height of the output bitmap after any scaling is applied. If true, it will be the height of the input image without any accounting for scaling.

outHeight will be set to -1 if there is an error trying to decode.

Java documentation for android.graphics.BitmapFactory.Options.outHeight.

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