Upravit

Sdílet prostřednictvím


AVCaptureDevice.VideoZoomFactor Property

Definition

The current zoom of the video capture.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual nfloat VideoZoomFactor { [Foundation.Export("videoZoomFactor")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setVideoZoomFactor:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.VideoZoomFactor : nfloat with get, set

Property Value

A value of 1.0 is full-frame (fully zoomed out).

Attributes

Remarks

This value is a reciprocal of the amount of zoom. For instance, a value of 2.0 indicates a zoom that includes half the field of view.

Applies to