Html to Pdf

Html to Pdf

Forum member · Jan 20, 2016
Hello, I am using DynamicPDF Generator for .net. Have HtmlTextWriter with html content. Can i add this content to created pdf document? Thanks

Re: Html to Pdf

Support · Jan 20, 2016
Hello, The FormattedTextArea page element of DynamicPDF Generator API supports adding only the HTML text. It is not possible to directly use the HtmlTextWriter with html content and add it to the PDF using DynamicPDF API. You will need to convert the contents of HtmlTextWriter to String and use this string value with FormattedTextArea to add the contents to the PDF. Also the FormattedTextArea supports a limited number of HTML tags and you can refer to the supported HTML tags here . Thanks, ceTe Software Support Team.