語言

WebView.CanZoomIn 方法

定義

警告

deprecated

判斷這個 WebView 是否可以放大。

[Android.Runtime.Register("canZoomIn", "()Z", "GetCanZoomInHandler")]
[System.Obsolete("deprecated")]
public virtual bool CanZoomIn();
[<Android.Runtime.Register("canZoomIn", "()Z", "GetCanZoomInHandler")>]
[<System.Obsolete("deprecated")>]
abstract member CanZoomIn : unit -> bool
override this.CanZoomIn : unit -> bool

傳回

true 如果這個 WebView 可以放大

屬性

備註

判斷這個 WebView 是否可以放大。

此會員已被棄用。 此方法因網頁渲染與 UI 執行緒間的競賽條件而容易不準確;偏好 WebViewClient#onScaleChanged。

Java 文件 android.webkit.WebView.canZoomIn()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於