Click or drag to resize

PageClient.StartScreencastAsync Method

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

Namespace:  CefSharp.DevTools.Page
Assembly:  CefSharp (in CefSharp.dll) Version: 91.1.160.0 (91.1.160.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: System.String
Image compression format.
quality (Optional)
Type: System.Nullable<Int32>
Compression quality from range [0..100].
maxWidth (Optional)
Type: System.Nullable<Int32>
Maximum screenshot width.
maxHeight (Optional)
Type: System.Nullable<Int32>
Maximum screenshot height.
everyNthFrame (Optional)
Type: System.Nullable<Int32>
Send every n-th frame.

Return Value

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