We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How do I insert page numbers?

Thread ID:





79302 Jan 29,2009 04:33 PM UTC Jan 30,2009 11:42 AM UTC WinForms 1
Tags: XlsIO
Administrator [Syncfusion]
Asked On January 29, 2009 04:33 PM UTC

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.


Geetha M [Syncfusion]
Replied On 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:



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon