Page 1 of 1

Programmatically setting header & footer setting

PostPosted: Fri Mar 01, 2013 5:58 pm
by prsrikan
In the Word UI, there are options for choosing the type of header content to be displayed in the document - i.e., whether to use different headers for even and odd pages/different header for the first page. I found a way to programmatically set the even and odd headers in a document (by making use of the setEvenAndOddHeaders in CTSettings), but was unable to find a similar property for the first page header. Could someone point this setting? Thank you.

Re: Programmatically setting header & footer setting

PostPosted: Fri Mar 01, 2013 7:38 pm
by jason

Re: Programmatically setting header & footer setting

PostPosted: Fri Mar 01, 2013 8:20 pm
by prsrikan
My mistake entirely. (I'd also forgotten to set titlePg to false). Thanks Jason!