WebSettings.SetSupportZoom(Boolean) Method

Definition

Sets whether the WebView should support zooming using its on-screen zoom controls and gestures.

[Android.Runtime.Register("setSupportZoom", "(Z)V", "GetSetSupportZoom_ZHandler")]
public abstract void SetSupportZoom (bool support);
[<Android.Runtime.Register("setSupportZoom", "(Z)V", "GetSetSupportZoom_ZHandler")>]
abstract member SetSupportZoom : bool -> unit

Parameters

support
Boolean

whether the WebView should support zoom

Attributes

Remarks

Sets whether the WebView should support zooming using its on-screen zoom controls and gestures. The particular zoom mechanisms that should be used can be set with #setBuiltInZoomControls. This setting does not affect zooming performed using the WebView#zoomIn() and WebView#zoomOut() methods. The default is true.

Java documentation for android.webkit.WebSettings.setSupportZoom(boolean).

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