Free Support Forum - aspose.com

Header only showing in first page in PDF

Version: Aspose Words 6.1
Header is only showing on first page in PDF file when using the following:

private static void RenderDocument()
{
Document doc = new Document("attachedFileName");
var builder = new DocumentBuilder(doc);
builder.Writeln("Test");
builder.InsertBreak(BreakType.PageBreak);
builder.Writeln("Test2");
string file = "c:\\test.pdf";
doc.Save(file, SaveFormat.Pdf);
System.Diagnostics.Process.Start(file);
}

Hi

Thanks for your inquiry. I cannot reproduce the problem using the latest version of Aspose.Words (7.0.0). You can download this version from here:
http://www.aspose.com/community/files/51/file-format-components/aspose.words-for-.net-and-java/category1188.aspx

Best regards,