Share via


UIScrollView.SetZoomScale(NFloat, Boolean) Method

Definition

Sets the scale of the UIScrollView object's contents. (See ZoomScale)

[Foundation.Export("setZoomScale:animated:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetZoomScale(System.Runtime.InteropServices.NFloat scale, bool animated);
[<Foundation.Export("setZoomScale:animated:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetZoomScale : System.Runtime.InteropServices.NFloat * bool -> unit
override this.SetZoomScale : System.Runtime.InteropServices.NFloat * bool -> unit

Parameters

scale
NFloat

The amount to scale the .

animated
Boolean
Attributes

Applies to