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