Click or drag to resize

EmulationClientSetEmulatedVisionDeficiencyAsync Method

Version 113.3.50
Emulates the given vision deficiency.

Namespace:  CefSharp.DevTools.Emulation
Assembly:  CefSharp.Core (in CefSharp.Core.dll) Version: 113.3.50.0
Syntax
public Task<DevToolsMethodResponse> SetEmulatedVisionDeficiencyAsync(
	SetEmulatedVisionDeficiencyType type
)

Parameters

type
Type: CefSharp.DevTools.EmulationSetEmulatedVisionDeficiencyType
Vision deficiency to emulate. Order: best-effort emulations come first, followed by anyphysiologically accurate emulations for medically recognized color vision deficiencies.

Return Value

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