Click or drag to resize

HtmlString Constructor

Version 101.0.180
Initializes a new instance of the HtmlString class.

Namespace:  CefSharp.Web
Assembly:  CefSharp (in CefSharp.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax
public HtmlString(
	string html,
	bool base64Encode = false,
	string charSet = null
)

Parameters

html
Type: SystemString
raw html string (not already encoded)
base64Encode (Optional)
Type: SystemBoolean
if true the html string will be base64 encoded using UTF8 encoding.
charSet (Optional)
Type: SystemString
if not null then charset will specified. e.g. UTF-8
See Also