Welcome Guest Search | Active Topics | Sign In | Register

EO.PDF Images are shifted up when repeating table header Options
Javier
Posted: Monday, March 3, 2014 8:57:06 AM
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!
eo_support
Posted: Monday, March 3, 2014 9:05:06 AM
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!

Javier
Posted: Monday, March 3, 2014 11:41:48 AM
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!
eo_support
Posted: Monday, March 3, 2014 11:43:35 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
You are very welcome. Great to hear that it's working for you!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.