共用方式為


Canvas.MaximumBitmapHeight Property

Definition

Returns the maximum allowed height for bitmaps drawn with this canvas.

public virtual int MaximumBitmapHeight { [Android.Runtime.Register("getMaximumBitmapHeight", "()I", "GetGetMaximumBitmapHeightHandler")] get; }
[<get: Android.Runtime.Register("getMaximumBitmapHeight", "()I", "GetGetMaximumBitmapHeightHandler")>]
member this.MaximumBitmapHeight : int

Property Value

Attributes

Remarks

Returns the maximum allowed height for bitmaps drawn with this canvas. Attempting to draw with a bitmap taller than this value will result in an error.

Java documentation for android.graphics.Canvas.getMaximumBitmapHeight().

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

See also