WebSettings.SetSupportZoom(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.