Click or drag to resize

PageStartScreencastAsync Method

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

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

Parameters

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

Return Value

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