|
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.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
|
|
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.
|
|
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!
|
|
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?
|
|
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!
|
|
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.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
|
|