Click or drag to resize

HtmlStringFromFile Method

Version 102.0.100
Creates a HtmlString for the given file name Uses ReadAllText(String, Encoding) to read the text using UTF8 encoding.

Namespace:  CefSharp.Web
Assembly:  CefSharp (in CefSharp.dll) Version: 102.0.100.0 (102.0.100.0)
Syntax
public static HtmlString FromFile(
	string fileName
)

Parameters

fileName
Type: SystemString
file name

Return Value

Type: HtmlString
HtmlString
See Also