Extra blank page after insert footer

Technical support for Spire.Doc

Moderator: iceblue support

Extra blank page after insert footer

Postby cengiz » Thu Aug 30, 2012 2:41 pm

Hi,

Spire.Doc adds a blank (empty) page to any document I make. After debugging a bit I found out that it happens when I add a footer.

Here is the code:

Dim footer As HeaderFooter = section.HeadersFooters.Footer
Dim footerParagraph As Paragraph = footer.AddParagraph()
Dim txt = footerParagraph.AppendText("footer text")
footerParagraph.Format.HorizontalAlignment = Spire.Doc.Documents.HorizontalAlignment.Center
txt.CharacterFormat.FontName = "Tahoma"
txt.CharacterFormat.FontSize = 8

What am I doing wrong here?

Thanks,

Elger
cengiz
 
Posts: 1
Joined: Fri Nov 11, 2011 9:49 am

Re: Extra blank page after insert footer

Postby amy.zhao » Fri Aug 31, 2012 9:57 am

Hi cengiz,

Sorry, we don't know what your problem is. Could you provide us more information(for example, error information, sreenshot, the code which produce error or your document)? Thanks.

Best wishes,
Amy
e-iceblue support
User avatar
amy.zhao
 
Posts: 2277
Joined: Wed Jun 27, 2012 8:50 am


Return to Spire.Doc

Who is online

Users browsing this forum: No registered users and 1 guest