共用方式為


AVCaptureDevice.VideoZoomFactor 屬性

定義

影片擷取的目前縮放比例。

[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

屬性值

值為 1.0 (完全縮小) 。

屬性

備註

這個值是縮放量的倒數。 例如,值為 2.0 表示包含一半檢視欄位的縮放。

適用於