PDFsharp & MigraDoc Foundation http://forum.pdfsharp.de/ |
|
How to set header height http://forum.pdfsharp.de/viewtopic.php?f=2&t=1320 |
Page 1 of 1 |
Author: | akumar6226 [ Fri Sep 03, 2010 11:47 am ] |
Post subject: | How to set header height |
Pdfsharp /MigraDoc : How can we set header height of each page . can it be possible that different page has different header height thanks Arun |
Author: | () => true [ Sat Sep 04, 2010 6:10 pm ] |
Post subject: | Re: How to set header height |
Header height is part of the page setup. Every new section can have a new page setup with a different header height. |
Author: | akumar6226 [ Mon Sep 13, 2010 1:04 pm ] |
Post subject: | Re: How to set header height |
() => true wrote: Header height is part of the page setup. Every new section can have a new page setup with a different header height. Thanks for the reply!!! This is how I am adding a header to my page. Code: Document document = new Document(); Section section = document.AddSection(); HeaderFooter header = section.Headers.FirstPage; Please advise how to set the height of Code: header in this case.Thanks, Arun Kumar. |
Author: | Thomas Hoevel [ Mon Sep 13, 2010 2:19 pm ] |
Post subject: | Re: How to set header height |
Please check the properties of Document.LastSection.PageSetup. The value set for TopMargin must be large enough to prevent overlapping of header and body - or your document must take care of that. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |