Android Guides | Samples

Android.Graphics.Bitmap.GetScaledHeight Method

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

Syntax

[Android.Runtime.Register("getScaledHeight", "(Landroid/graphics/Canvas;)I", "")]
public Int32 GetScaledHeight (Canvas canvas)

Parameters

canvas

Remarks

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

[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