语言

Canvas.MaximumBitmapHeight 属性

定义

返回使用此画布绘制的位图的最大允许高度。

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

属性值

此画布报告的最大支持的位图高度(以像素为单位)。

特性

注解

返回使用此画布绘制的位图的最大允许高度。 尝试使用高于此值的位图进行绘制将导致错误。

Java文档android.graphics.Canvas.getMaximumBitmapHeight()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

另请参阅