HtmlStringFromFile Method |
Version 83.4.2
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: 83.4.2.0 (83.4.2.0)
Syntax public static HtmlString FromFile(
string fileName
)
public:
static HtmlString^ FromFile(
String^ fileName
)
Parameters
- fileName
- Type: SystemString
file name
Return Value
Type:
HtmlStringHtmlString
See Also