PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

HeaderFooter.IsPrimary Property
https://forum.pdfsharp.net/viewtopic.php?f=2&t=1662
Page 1 of 1

Author:  sfvaleriano [ Mon May 23, 2011 10:26 am ]
Post subject:  HeaderFooter.IsPrimary Property

Hi,

what is the property IsPrimary on the header or footer?

thanks,
Valeriano

Author:  Thomas Hoevel [ Mon May 23, 2011 1:13 pm ]
Post subject:  Re: HeaderFooter.IsPrimary Property

Hi!
Code:
/// <summary>
/// Returns true if this is a primary header or footer, false otherwise.
/// </summary>


You can set three headers for a section: an optional FirstPage Header for the first page, an optional EvenPage Header for even pages, and a Primary Header for the rest (for all odd pages, but maybe also for even pages and/or first pages).
So if you only set the Primary Header, it will be used for all pages.

See HeadersFooters.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/