PDA

View Full Version : Problem with Headers coving main document


cjorgensen
July 2, 2007, 18:25:05
I purchased Version 13 of Server this weekend and my documents aren't printing like they used to with Version 11 ActiveX Server. I have a LOGO at the top of the page with a title, and the logo is getting cut off where the header is supposed to go.

I did get it to work if I put the following code in:

tx.HeadersAndFooters.Remove(HeaderFooterType.All)


I tried to just remove the FirstPageHeader:

tx.HeadersAndFooters.Remove(HeaderFooterType.First PageHeader)

but It only works if I don't have any footers on the page... but there are documents I have that have footers.

Is there a way to fix this?

Thanks,
Cory Jorgensen
Bitco Software

Gunnar Giffey
July 3, 2007, 17:45:08
Hi Cory,

Did you set the ViewMode property to PageView?

cjorgensen
July 3, 2007, 17:57:39
The problem isn't with the application, it is a problem with the output to a PDF file. Sorry I didn't make that clear. It views fine as I design the document, but when I print it the top of my page cuts off the image where the header would go if there was a header. It is like when developing and I have images and can send-to-front or send-to-behind. I have sent you a sample of the PDF so you can see what I mean.

Thanks,
Cory

Gunnar Giffey
July 4, 2007, 16:25:33
Cory,

I can reproduce this, but I think the only solution is to remove the first page header. As it is empty, this should make no difference?
If this is not an option, you will have to reposition the image, so that the image is not "behind" the header anymore.