WebView.ZoomBy(Single) Method

Definition

Performs a zoom operation in this WebView.

[Android.Runtime.Register("zoomBy", "(F)V", "GetZoomBy_FHandler")]
public virtual void ZoomBy (float zoomFactor);
[<Android.Runtime.Register("zoomBy", "(F)V", "GetZoomBy_FHandler")>]
abstract member ZoomBy : single -> unit
override this.ZoomBy : single -> unit

Parameters

zoomFactor
Single

the zoom factor to apply. The zoom factor will be clamped to the WebView's zoom limits. This value must be in the range 0.01 to 100.0 inclusive.

Attributes

Remarks

Performs a zoom operation in this WebView.

Java documentation for android.webkit.WebView.zoomBy(float).

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