PageClientCaptureSnapshotAsync Method  | 
Version 93.1.111 
            Returns a snapshot of the page as a string. For MHTML format, the serialization includes
            iframes, shadow DOM, external resources, and element-inline styles.
            
 
    Namespace: 
   CefSharp.DevTools.Page
    Assembly:
   CefSharp (in CefSharp.dll) Version: 93.1.111.0 (93.1.111.0)
Syntaxpublic Task<CaptureSnapshotResponse> CaptureSnapshotAsync(
	CaptureSnapshotFormat? format = null
)
public:
Task<CaptureSnapshotResponse^>^ CaptureSnapshotAsync(
	Nullable<CaptureSnapshotFormat> format = nullptr
)
Parameters
- format (Optional)
 - Type: SystemNullableCaptureSnapshotFormat
Format (defaults to mhtml). 
Return Value
Type: 
TaskCaptureSnapshotResponsereturns System.Threading.Tasks.Task<CaptureSnapshotResponse>
See Also