Rank: Newbie Groups: Member
Joined: 12/5/2011 Posts: 5
|
I use EO.PDF to render my HTML page (With images) to PDF.
It works well on my page if I push the file to the client with:
ASPXToPDF1.RenderAsPDF(fileOutput)
But if I want to save it as a file at server side with:
EO.Pdf.HtmlToPdf.ConvertHtml(sb.ToString, fileOutput)
Then all the Styles and Images can't be rendered.
Any idea?
Thanks
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
You need to set HtmlToPdf.Options.BaseUrl.
Thanks
|