Hello,
I've got Aspose.Word and I add a footer to the document in memory. Convert it to a pdf and the formatting of the footer doesn't take effect, except for the paragragh alignment. Any ideas...?
Code:
//Add a footer to each page of the word document.
Aspose.Word.Section sect = sourceDoc.Sections[0];
Aspose.Word.HeaderFooter footer = new Aspose.Word.HeaderFooter(sourceDoc, Aspose.Word.HeaderFooterType.FooterPrimary);
sect.HeadersFooters.Add(footer);
//Now you can add some paragraphs or whatever to the footer:
Aspose.Word.Paragraph para = new Aspose.Word.Paragraph(sourceDoc);
para.ParagraphFormat.Alignment = Aspose.Word.ParagraphAlignment.Right;
para.Font.Size = 8;
para.Font.Underline = Aspose.Word.Underline.Single;
para.AppendChild(new Run(sourceDoc, footerText));
footer.AppendChild(para);