AVCaptureDevice.VideoZoomFactor 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
影片擷取的目前縮放比例。
[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 表示包含一半檢視欄位的縮放。