Free Support Forum - aspose.com

Font for Header and Footer

How do I set the font for the header/footer and the font properties like bold.

Dear Scott,

Please see the new PageSetup API reference.

You can use the following code:

pageSetup.SetHeader(1, “&“Times New Roman,Bold”&D”);