Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files from any .NET platform (C#, VB.NET, ASP.NET, .NET Core) and Java applications (J2SE and J2EE) with fast and high quality performance.

Thu Aug 30, 2012 2:41 pm


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?



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

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,
e-iceblue support
User avatar

Posts: 2470
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.Doc