PageClientSetFontFamiliesAsync Method |
Version 106.0.290
Set generic font families.
Namespace:
CefSharp.DevTools.Page
Assembly:
CefSharp (in CefSharp.dll) Version: 106.0.290.0 (106.0.290.0)
Syntax public Task<DevToolsMethodResponse> SetFontFamiliesAsync(
FontFamilies fontFamilies,
IList<ScriptFontFamilies> forScripts = null
)
public:
Task<DevToolsMethodResponse^>^ SetFontFamiliesAsync(
FontFamilies^ fontFamilies,
IList<ScriptFontFamilies^>^ forScripts = nullptr
)
Parameters
- fontFamilies
- Type: CefSharp.DevTools.PageFontFamilies
Specifies font families to set. If a font family is not specified, it won't be changed. - forScripts (Optional)
- Type: System.Collections.GenericIListScriptFontFamilies
Specifies font families to set for individual scripts.
Return Value
Type:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also