Android Guides | Samples

Android.Graphics.Bitmap.GetScaledHeight Method

Convenience for calling Bitmap.GetScaledHeight(Int32) with the target density of the given DisplayMetrics.

Syntax

[Android.Runtime.Register("getScaledHeight", "(Landroid/util/DisplayMetrics;)I", "")]
public Int32 GetScaledHeight (DisplayMetrics metrics)

Parameters

metrics

Remarks

Convenience for calling Bitmap.GetScaledHeight(Int32) with the target density of the given DisplayMetrics.

[Android Documentation]

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 4