Android Guides | Samples

Android.Graphics.Bitmap.GetScaledHeight Method

Convenience method that returns the height of this bitmap divided by the density scale factor.

Syntax

[Android.Runtime.Register("getScaledHeight", "(I)I", "")]
public Int32 GetScaledHeight (Int32 targetDensity)

Parameters

targetDensity
The density of the target canvas of the bitmap.

Remarks

Convenience method that returns the height of this bitmap divided by the density scale factor.

[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