Share via


WebView.CanZoomIn Method

Definition

Caution

deprecated

Gets whether this WebView can be zoomed in.

[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

Returns

true if this WebView can be zoomed in

Attributes

Remarks

Gets whether this WebView can be zoomed in.

This member is deprecated. This method is prone to inaccuracy due to race conditions between the web rendering and UI threads; prefer WebViewClient#onScaleChanged.

Java documentation for android.webkit.WebView.canZoomIn().

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