AddFromHtml

ParagraphCollection.AddFromHtml method (1 of 2)

Adds text from specified html string to the collection.

public void AddFromHtml(string text)
Parameter Type Description
text String HTML text.

See Also


ParagraphCollection.AddFromHtml method (2 of 2)

Adds text from specified html string to the collection.

public void AddFromHtml(string text, IExternalResourceResolver resolver, string uri)
Parameter Type Description
text String HTML text.
resolver IExternalResourceResolver Resolver callback object which resolves URIs and fetches referrenced objects.
uri String URI for adding HTML document. Used for resolving relative links.

Remarks

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

See Also