|PDFsharp & MigraDoc Foundation
|Page 1 of 1|
|Author:||benfosterdev [ Wed May 08, 2013 2:59 pm ]|
|Post subject:||Add PageSetup.DifferentFirstPageHeader/Footer|
Currently it is only possible to set DifferentFirstPageHeaderFooter. It's a fairly common scenario to not repeat the first page header but *do* repeat the footer.
The only workaround currently is to add our footer twice:
public static void AddFooter(Section section)
var footer = section.Footers.FirstPage.AddParagraph();
|Author:||Thomas Hoevel [ Wed May 08, 2013 3:34 pm ]|
|Post subject:||Re: Add PageSetup.DifferentFirstPageHeader/Footer|
IMHO it's not that common and I think it's fine as it is (it's just a "Clone()" call in your code).
And we don't want to break existing code.
|Page 1 of 1||All times are UTC|
|Powered by phpBB® Forum Software © phpBB Group