Welcome Guest Search | Active Topics | Sign In | Register

Generated Page Borders Options
paulmc
Posted: Thursday, December 20, 2012 3:08:04 PM
Rank: Newbie
Groups: Member

Joined: 12/20/2012
Posts: 7
I'm testing out the HtmlToPdfConverter and all is working great. I have a slight problem in that there are borders around the page in the converted document. I need to get rid of these and can't find a property to do so.
eo_support
Posted: Thursday, December 20, 2012 3:14:26 PM
Rank: Administration
Groups: Administration

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

Please see if this is what you are looking for:

http://www.essentialobjects.com/doc/4/htmltopdf/page_size.aspx

Thanks!
paulmc
Posted: Thursday, December 20, 2012 3:33:53 PM
Rank: Newbie
Groups: Member

Joined: 12/20/2012
Posts: 7
I already looked at that. It appears to be right at where the margins are.
eo_support
Posted: Thursday, December 20, 2012 3:39:42 PM
Rank: Administration
Groups: Administration

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

I am not exactly sure if you meant margin or border. If you meant margin, then the above link is the right link. If you really meant border (explicit border lines), then it's in your HTML. We do not generate borders out of blue. Anything shows up in the PDF file should trace back to your HTML.

Thanks!
paulmc
Posted: Thursday, December 20, 2012 4:00:56 PM
Rank: Newbie
Groups: Member

Joined: 12/20/2012
Posts: 7
I figured out what is going on. I am using the VisualElementIds to get the element. What is happening is that it is grabbing the master page border and the element is a child of that. Is there a way to suppress this?
eo_support
Posted: Thursday, December 20, 2012 4:06:13 PM
Rank: Administration
Groups: Administration

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

No. ANYTHING you want to do you do it on your HTML. We will always render your HTML faithfully. So if you have borders on your HTML and you want to turn it off, you need to turn it off on your HTML.

Thanks!
paulmc
Posted: Thursday, December 20, 2012 4:16:18 PM
Rank: Newbie
Groups: Member

Joined: 12/20/2012
Posts: 7
Is there a way for my web page to know that that they are being rendered by the HtmlToPdf Conveter? If I know that then I can turn off the borders.

Thanks for your help.
eo_support
Posted: Thursday, December 20, 2012 4:44:22 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195


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.