|
Rank: Member Groups: Member
Joined: 4/7/2016 Posts: 10
|
All the documentation and anything I find in the forums show that this should be working fine, but it's not and I can't see why. I have a really simple bit of code Quote: var pdf = new EO.Pdf.PdfDocument(); pdf.Info.Creator = "The System"; pdf.Info.Author = "The Company"; pdf.Info.Title = "Mail Merged Letter"; pdf.Info.CreationDate = DateTime.UtcNow;
var sizeW = 8.5f; var sizeH = 11f; var options = new HtmlToPdfOptions(); options.ZoomLevel = 1f; var margin = marginSize / 60f; options.OutputArea = new RectangleF(margin, margin, sizeW - (margin * 2), sizeH - (margin * 2));
HtmlToPdf.ConvertHtml(ParseTaggedText(html), pdf, options); HtmlToPdf.ConvertHtml(ParseTaggedText(html2), pdf, options); HtmlToPdf.ConvertHtml(ParseTaggedText(html3), pdf, options);
pdf.Save(fileStream);
When it renders the PDF, all of the content is shown overlapping on the first page. I'm using the latest versions. I've litterally just purchased a license today. Any ideas?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
We have confirmed this to be a bug on our end. We will fix it as soon as possible and reply again when the new build is posted. Sorry about the problem.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 4/7/2016 Posts: 10
|
Thanks. At least it's not me going mad. I'm new to you guys, so wondered how long fixes like this generally take to go live?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
This particular one will be a fast fix since the code change is very minimum. We have a new build scheduled to be released during the weekend and this fix should make into that build.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 4/7/2016 Posts: 10
|
Excellent.. Thanks!!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
You are very welcome. Please feel free to let us know if there is anything else.
|
|
Rank: Member Groups: Member
Joined: 4/7/2016 Posts: 10
|
Just to let you know, the update you put out over the weekend has fixed the issue. Thanks for the rapid response with this!!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Great. Thank you very much for confirming the fix!
|
|