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 set/format a Header / Footer ?

The string that the header/footer takes is a script that you can use to format the header.

The below code illustrates this.

C#

VB

Here is the sample for your reference:

http://www.syncfusion.com/downloads/support/directtrac/89898/HeaderFooter554550542.zip

 

Article ID: Published Date: Last Revised Date: Platform: Control:
1933 04/30/2011 01/03/2018 WinForms XlsIO
Tags:
Did you find this information helpful?
Comments
Austin Ford Dec 30, 2017
Would it be possible to add comments to the code here to display what each of the Strings does to the header/footer?  Are there any more of these preformatted strings that can be used?

Reply
Mohan Chandran [Syncfusion] Jan 03, 2018

Hi Austin,

 

Query

Answer

Would it be possible to add comments to the code here to display what each of the Strings does to the header/footer?

Yes, we have added the comments to each format string code.

Are there any more of these preformatted strings that can be used?

Please find the details of the preformatted strings used in this KB and other formatting strings from the following link.

https://msdn.microsoft.com/en-us/library/bb225426(v=office.12).aspx

 

Regards,

Mohan Chandran.

Reply
Add Comment
You must log in to leave a comment

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