AddFromHtml

AddFromHtml(string)

Adds text from specified html string to the collection.

public void AddFromHtml(string text)
ParameterTypeDescription
textStringHTML text.

See Also


AddFromHtml(string, IExternalResourceResolver, string)

Adds text from specified html string to the collection.

public void AddFromHtml(string text, IExternalResourceResolver resolver, string uri)
ParameterTypeDescription
textStringHTML text.
resolverIExternalResourceResolverResolver callback object which resolves URIs and fetches referrenced objects.
uriStringURI for adding HTML document. Used for resolving relative links.

Remarks

Specifying resolver can potentially introduce a vulnurability. Use with caution.

See Also