PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Jul 11, 2024 4:31 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon May 23, 2011 10:26 am 
Offline

Joined: Thu Jul 16, 2009 2:38 pm
Posts: 16
Hi,

what is the property IsPrimary on the header or footer?

thanks,
Valeriano


Top
 Profile  
Reply with quote  
PostPosted: Mon May 23, 2011 1:13 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
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.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 46 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group