Share via


WebView.Scale Property

Definition

Caution

deprecated

Gets the current scale of this WebView.

[System.Obsolete("deprecated")]
public virtual float Scale { [Android.Runtime.Register("getScale", "()F", "GetGetScaleHandler")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getScale", "()F", "GetGetScaleHandler")>]
member this.Scale : single

Property Value

the current scale

Attributes

Remarks

Gets the current scale of this WebView.

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.getScale().

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