How do I insert page numbers?

I am setting the pagesetup properties for my xls file so when printed it will have page numbers in it.

I can't figure out how to "turn on" page numbering.

Thanks


1 Reply

GM Geetha M Syncfusion Team January 30, 2009 11:42 AM UTC

Hi Kelley,

Thank you for your interest in Syncfusion products.

Page number can be enabled in the header of the document by using the following code snippets:

sheet.PageSetup.CenterHeader = "&P";

You can get more information from the documentation link given below:
http://help.syncfusion.com/ug_71/xlsio/HeaderFooter.html

Regards,
Geetha


Loader.
Up arrow icon