Adding page number and a text to footer

Do these codes in the following link still works or are they expired I’m getting errors
http://www.aspose.com/docs/display/wordsjava/Working+with+Headers+and+Footers

@Duminda The provided code is actual and works fine on my side. What errors are you getting?

Sorry actually this is the link I’m working on https://docs.aspose.com/words/net/working-with-headers-and-footers Examples here the code block builder.CellFormat.ClearFormatting(); doesn’t clear table borders

@Duminda Please change the mentioned line of code to this:

builder.CellFormat.Borders.LineStyle = LineStyle.None;