|
Rank: Newbie Groups: Member
Joined: 12/7/2012 Posts: 6
|
Hi there,
We've been using the Html to Pdf converter to add headings onto existing Pdf files. This has always been fine for Portrait pages and, until recently, all Landscape ones as well. One of our clients has tried the same with a Landscape Pdf created in Word 2010 and the headers have appeared rotated and positioned oddly.
I will be happy to send you the sample.
Kind regards,
Matthew Hinks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, Please try to isolate the problem into a test app and send us the test app. Please see here for more details: http://www.essentialobjects.com/forum/test_project.aspxOnce we receive that, we will run it here and see if we can reproduce the problem. Usually as soon as we can reproduce the problem here, we will be able to find out the root cause. Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 12/7/2012 Posts: 6
|
Hi there,
I can't access that link - it says I don't have access to that area.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
MJH wrote:Hi there,
I can't access that link - it says I don't have access to that area. I apologize -- that was the wrong link. It has been corrected and now the previous post should contain the correct link.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
We have posted a new build (2016.0.42.0) that should no longer have this issue. You can download the new build from our download page. Please take a look and let us know how it goes.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 12/7/2012 Posts: 6
|
Hi again,
Yep, that's fixed the issue with the rotated headers.
However, we seem to have ran into a second issue with this build. The headers are appearing very small relative to the text. You can see from the sample we sent that the header is taking up about half of the height available (normally it would be filling almost the whole space). This also seems to be affecting other pdfs where we're converting HTML directly to PDF and putting headers on, of which I can send a sample if you'd like.
So, is this a behaviour that's been introduced intentionally, fixing a different issue, and something that we'll need to fix on our end or a bug in this release?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
We did not introduce anything intentionally in this build. We did see you have relative size in your HTML. So you may want to adjust that. Also since now it is in the "rotated" coordination, you must write code as if there was no rotation at all. This means the page size in your HtmlToPdf.Options.PageSize must have a bigger width value than height value. Also make sure you set your HtmlToPdf.Options inside your loop since many values of the options are reset to default value after every conversion.
Thanks!
|
|