Click or drag to resize

EmulationClientSetEmulatedVisionDeficiencyAsync Method

Version 118.6.80
Emulates the given vision deficiency.

Namespace:  CefSharp.DevTools.Emulation
Assembly:  CefSharp.Core (in CefSharp.Core.dll) Version: 118.6.80.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