Click or drag to resize

PageClientStartScreencastAsync Method

Version 130.1.90
Starts sending each frame using the `screencastFrame` event.

Namespace: CefSharp.DevTools.Page
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
public Task<DevToolsMethodResponse> StartScreencastAsync(
	StartScreencastFormat? format = null,
	int? quality = null,
	int? maxWidth = null,
	int? maxHeight = null,
	int? everyNthFrame = null
)

Parameters

format  NullableStartScreencastFormat  (Optional)
Image compression format.
quality  NullableInt32  (Optional)
Compression quality from range [0..100].
maxWidth  NullableInt32  (Optional)
Maximum screenshot width.
maxHeight  NullableInt32  (Optional)
Maximum screenshot height.
everyNthFrame  NullableInt32  (Optional)
Send every n-th frame.

Return Value

TaskDevToolsMethodResponse
returns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also