We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Save formatted html into pdf document

Hello,

I have html text in my database. And I need to create report based on this text, but I need this text to be displayed as a normal formatted text,

I found examples about HtmlConvertor, but it works only with URL, but in my case html text stored in some variable.

Is it possible to display html text from variable like this

string myHtml = "Bold and Italic"

in my document I need this text without tags, but formatted, text must be bold and italic.

Thanks,
Alexander.

Loader.
Live Chat Icon For mobile
Up arrow icon