Share via


SCScreenshotManager.CaptureScreenshot Method

Definition

Overloads

CaptureScreenshot(CGRect, SCScreenshotConfiguration, SCScreenshotManagerCaptureScreenshotCallback)

[Foundation.Export("captureScreenshotWithRect:configuration:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void CaptureScreenshot(CoreGraphics.CGRect rect, ScreenCaptureKit.SCScreenshotConfiguration config, ScreenCaptureKit.SCScreenshotManagerCaptureScreenshotCallback? completionHandler);
[<Foundation.Export("captureScreenshotWithRect:configuration:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CaptureScreenshot : CoreGraphics.CGRect * ScreenCaptureKit.SCScreenshotConfiguration * ScreenCaptureKit.SCScreenshotManagerCaptureScreenshotCallback -> unit

Parameters

rect
CGRect
Attributes

Applies to

CaptureScreenshot(SCContentFilter, SCScreenshotConfiguration, SCScreenshotManagerCaptureScreenshotCallback)

[Foundation.Export("captureScreenshotWithFilter:configuration:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void CaptureScreenshot(ScreenCaptureKit.SCContentFilter contentFilter, ScreenCaptureKit.SCScreenshotConfiguration config, ScreenCaptureKit.SCScreenshotManagerCaptureScreenshotCallback? completionHandler);
[<Foundation.Export("captureScreenshotWithFilter:configuration:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CaptureScreenshot : ScreenCaptureKit.SCContentFilter * ScreenCaptureKit.SCScreenshotConfiguration * ScreenCaptureKit.SCScreenshotManagerCaptureScreenshotCallback -> unit

Parameters

contentFilter
SCContentFilter
Attributes

Applies to