Share via


WKWebView.TakeSnapshot Method

Definition

Overloads

TakeSnapshot(WKSnapshotConfiguration, Action<NSImage,NSError>)

[Foundation.Export("takeSnapshotWithConfiguration:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void TakeSnapshot(WebKit.WKSnapshotConfiguration? snapshotConfiguration, Action<AppKit.NSImage,Foundation.NSError> completionHandler);
[<Foundation.Export("takeSnapshotWithConfiguration:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member TakeSnapshot : WebKit.WKSnapshotConfiguration * Action<AppKit.NSImage, Foundation.NSError> -> unit
override this.TakeSnapshot : WebKit.WKSnapshotConfiguration * Action<AppKit.NSImage, Foundation.NSError> -> unit

Parameters

snapshotConfiguration
WKSnapshotConfiguration
completionHandler
Action<NSImage,NSError>
Attributes

Applies to

TakeSnapshot(WKSnapshotConfiguration, Action<UIImage,NSError>)

[Foundation.Export("takeSnapshotWithConfiguration:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void TakeSnapshot(WebKit.WKSnapshotConfiguration? snapshotConfiguration, Action<UIKit.UIImage,Foundation.NSError> completionHandler);
[<Foundation.Export("takeSnapshotWithConfiguration:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member TakeSnapshot : WebKit.WKSnapshotConfiguration * Action<UIKit.UIImage, Foundation.NSError> -> unit
override this.TakeSnapshot : WebKit.WKSnapshotConfiguration * Action<UIKit.UIImage, Foundation.NSError> -> unit

Parameters

snapshotConfiguration
WKSnapshotConfiguration
completionHandler
Action<UIImage,NSError>
Attributes

Applies to