PageClientStartScreencastAsync Method |
Version 107.1.120
Starts sending each frame using the `screencastFrame` event.
Namespace:
CefSharp.DevTools.Page
Assembly:
CefSharp (in CefSharp.dll) Version: 107.1.120.0 (107.1.120.0)
Syntax public Task<DevToolsMethodResponse> StartScreencastAsync(
StartScreencastFormat? format = null,
int? quality = null,
int? maxWidth = null,
int? maxHeight = null,
int? everyNthFrame = null
)
public:
Task<DevToolsMethodResponse^>^ StartScreencastAsync(
Nullable<StartScreencastFormat> format = nullptr,
Nullable<int> quality = nullptr,
Nullable<int> maxWidth = nullptr,
Nullable<int> maxHeight = nullptr,
Nullable<int> everyNthFrame = nullptr
)
Parameters
- format (Optional)
- Type: SystemNullableStartScreencastFormat
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:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also