SCScreenshotManager.CaptureScreenshot Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- config
- SCScreenshotConfiguration
- completionHandler
- SCScreenshotManagerCaptureScreenshotCallback
- 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
- config
- SCScreenshotConfiguration
- completionHandler
- SCScreenshotManagerCaptureScreenshotCallback
- Attributes