編集

次の方法で共有


UIScrollView.ZoomScale Property

Definition

The scale factor that is being applied to the content of a scroll view.

public virtual nfloat ZoomScale { [Foundation.Export("zoomScale")] get; [Foundation.Export("setZoomScale:")] set; }
member this.ZoomScale : nfloat with get, set

Property Value

The default value is 1.0.

Attributes

Remarks

Zooming scales the content, but does not cause it to be redrawn in a sharper manner. To assure sharpness at higher zoom levels, the application developer should use the DrawInContext(CGContext) method.

Applies to

See also

  • <xref:CoreAnimation.CALayer.DrawInContext>