Share via


SCScreenshotManager.CaptureImage Method

Definition

Overloads

CaptureImage(CGRect, SCScreenshotManagerCaptureImageCallback)

[Foundation.Export("captureImageInRect:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void CaptureImage(CoreGraphics.CGRect rect, ScreenCaptureKit.SCScreenshotManagerCaptureImageCallback? completionHandler);
[<Foundation.Export("captureImageInRect:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CaptureImage : CoreGraphics.CGRect * ScreenCaptureKit.SCScreenshotManagerCaptureImageCallback -> unit

Parameters

rect
CGRect
Attributes

Applies to

CaptureImage(SCContentFilter, SCStreamConfiguration, Action<CGImage,NSError>)

[Foundation.Export("captureImageWithFilter:configuration:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void CaptureImage(ScreenCaptureKit.SCContentFilter contentFilter, ScreenCaptureKit.SCStreamConfiguration config, Action<CoreGraphics.CGImage,Foundation.NSError>? completionHandler);
[<Foundation.Export("captureImageWithFilter:configuration:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CaptureImage : ScreenCaptureKit.SCContentFilter * ScreenCaptureKit.SCStreamConfiguration * Action<CoreGraphics.CGImage, Foundation.NSError> -> unit

Parameters

contentFilter
SCContentFilter
completionHandler
Action<CGImage,NSError>
Attributes

Applies to