Hi, I’m currently evaluating your products for the purpose of medical document integration and I want to render a string of html that is transmitted in a segment of an hl7 message. Using the code from your developer guide
string htmlContent = htmlText;
HtmlLoadOptions htmlLoadOptions = new HtmlLoadOptions();
htmlLoadOptions.PageInfo.Margin.Bottom = 10;
htmlLoadOptions.PageInfo.Margin.Top = 20;
Document doc = new Document(new MemoryStream(System.Text.Encoding.UTF8.GetBytes(htmlContent)), htmlLoadOptions);
//Save PDF file
doc.Save(file);
return true;
I get the following error message "A table-cell is spanning more rows than available in its parent"
I have attached an example of the string in a text file. Is this as a result of not setting the correct HtmlLoadOptions options, or is it a bug as I can render this string with no error with other products I’m evaluating.
Regards