Here is the test page which reflects some of the content I want to put in a pdf.
https://mobilecentral.swyfthub.com/jquery/test.htmlIf I put this url in your demo page and convert it to a pdf, then content renders perfectly.
What I really want to do is generate some content similar to this html file, and generate the pdf using the following code. PresentmentContent contains the html. When I receive the pdf in an email with an attachment, the pdf is blank.
// create the attachment in memory
MemoryStream ms = new MemoryStream();
EO.Pdf.HtmlToPdf.Options.MinLoadWaitTime = 5000;
EO.Pdf.HtmlToPdfResult result1 = EO.Pdf.HtmlToPdf.ConvertHtml(PresentationContent, ms);
// the memorystream position must be set to
ms.Position = 0;
System.Net.Mail.Attachment attachment = new System.Net.Mail.Attachment(ms, DocumentName);
Interesting thing is that if I load the file using the page below and convert to pdf, I get an empty pdf file. The content of the loaded file is the same as the test.html from above.
http://www.essentialobjects.com/Products/EOPdf/FileToPdf.aspx