Udostępnij za pośrednictwem


Magnifier.Zoom Property

Definition

Returns the zoom to be applied to the magnified view region copied to the magnifier. -or- Sets the zoom to be applied to the chosen content before being copied to the magnifier popup.

public float Zoom { [Android.Runtime.Register("getZoom", "()F", "", ApiSince=28)] get; [Android.Runtime.Register("setZoom", "(F)V", "", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getZoom", "()F", "", ApiSince=28)>]
[<set: Android.Runtime.Register("setZoom", "(F)V", "", ApiSince=29)>]
member this.Zoom : single with get, set

Property Value

the zoom applied to the content

Attributes

Remarks

Property getter documentation:

Returns the zoom to be applied to the magnified view region copied to the magnifier. If the zoom is x and the magnifier window size is (width, height), the original size of the content being magnified will be (width / x, height / x).

Java documentation for android.widget.Magnifier.getZoom().

Property setter documentation:

Sets the zoom to be applied to the chosen content before being copied to the magnifier popup. The change will become effective at the next #show or #update call.

Java documentation for android.widget.Magnifier.setZoom(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