We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Setheader Font size-Font Bold-FontName

i would like to set the font attribute of my “Report Title” using the setHeader method.
here is my sample code , i intend to set the font to “Arial,Bold” but it does work.
xlsWrkSheet.PageSetup.SetHeader(1, “Report Title” & “&Arial,Bold”)
please show me sample code on how to set the font properties
font size
font name,font style

thanks in advance.


Thanks for considering Aspose.

Well, you got to know the vocabulary of script commands before setting the header / footer. Please check how to apply the script commands with examples for your need:

Headers and Footers

Thank you.

thank you for giving me the script commands,its almost complete.
i have my report ready for deployment.

Can you fix the link please?


Thanks for your query again. You may please refer to the following link for setting headers and footers.

Setting Headers and Footers