PageClientStartScreencastAsync Method |
Version 130.1.90
Starts sending each frame using the `screencastFrame` event.
Namespace: CefSharp.DevTools.PageAssembly: 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
)
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 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
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also