Welcome Guest Search | Active Topics | Sign In | Register

Additional background image(margin) appearing in the pdf Options
Sindhu
Posted: Thursday, September 1, 2016 10:16:40 AM
Rank: Newbie
Groups: Member

Joined: 9/1/2016
Posts: 2
Hi,

I am using version 16.1.87 EO . An additional image (margin )is appearing in the generated PDF.
eo_support
Posted: Thursday, September 1, 2016 1:47:50 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

You can try to comment out your HTML block by block to see if you can find what triggered the image. Usually as soon as you find out what triggered it, it will make sense to you. If you can find out what triggered it but it does not make sense to you, you can try to isolate it to a test project and send the test project to us. See here for more instructions:

http://www.essentialobjects.com/forum/test_project.aspx

We will look into it as soon as we have that.

Thanks!
Sindhu
Posted: Thursday, September 1, 2016 2:14:14 PM
Rank: Newbie
Groups: Member

Joined: 9/1/2016
Posts: 2
Hi,

It is because image is attached in the body class in css.
Same html is used to generate PDF and for UI.
We need that image in UI but not in PDF.
eo_support
Posted: Thursday, September 1, 2016 2:16:44 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Then you need to modify your HTML before passing it to our converter. You can also use different style for print media and then use print media for the converter by setting this property to true:

http://www.essentialobjects.com/doc/eo.pdf.htmltopdfoptions.useprintmedia.aspx

Thanks!


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.