Click or drag to resize

HtmlString Class

Version 94.4.20
Represents an raw Html (not already encoded) When passed to a ChromiumWebBrowser constructor, the html will be converted to a Data Uri and loaded in the browser. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs for details
Inheritance Hierarchy
SystemObject
  CefSharp.WebHtmlString

Namespace:  CefSharp.Web
Assembly:  CefSharp (in CefSharp.dll) Version: 94.4.20.0 (94.4.20.0)
Syntax
public class HtmlString

The HtmlString type exposes the following members.

Constructors
  NameDescription
Public methodHtmlString
Initializes a new instance of the HtmlString class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFromFile
Creates a HtmlString for the given file name Uses ReadAllText(String, Encoding) to read the text using UTF8 encoding.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToDataUriString
The html as a Data Uri encoded string
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Operators
See Also