|
Rank: Newbie Groups: Member
Joined: 3/3/2014 Posts: 2
|
Hi,
I'm using EO.PDF (Html to PDF). My HTML file has a table and some rows contain images. I'm using RepeatTableHeaderAndFooter to repeat the table's header when I have multiple pages.
When I try to replace these images with higher resolution images in the PDFDocument object, all images after the first page are shifted. Each image's position that I get from the document doesn't take into account the height of the automatically generated header. Is this the expected behaviour or is this a bug? Are there any workarounds for this issue?
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
This sounds like a bug. If you can provide the code you use to replace the image we will take a look. However you do not need to manually replace the images. EO.Pdf automatically preserve the high resolution images your HTML page uses. So if your HTML page already uses a high resolution image, then your PDF file will have high resolution image.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 3/3/2014 Posts: 2
|
Hi,
I have tried again using the high resolution images in my HTML, and you are right, it preserves the resolution. I'm pretty sure I had done exactly the same before (PreserveHighResImages = true) and the quality wasn't very good.
It's working great now. Thanks for your quick response!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
You are very welcome. Great to hear that it's working for you!
|
|