PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Wed Oct 18, 2017 12:47 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Side header
PostPosted: Mon Jun 26, 2017 5:36 pm 
Offline

Joined: Tue Apr 26, 2016 8:24 pm
Posts: 20
Hello,
It is possible to have side headers in MigraDoc?
Simillar to:
http://www.elijournals.com/images/artic ... 07901a.gif


Top
 Profile  
Reply with quote  
 Post subject: Re: Side header
PostPosted: Tue Jun 27, 2017 12:47 pm 
Offline
empira Employee
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 2719
Location: Cologne, Germany
Hi!
MariusIonut wrote:
It is possible to have side headers in MigraDoc?
Yes.
You can use a "TextFrame" object and set the "Orientation" property:
https://blog.xojo.com/2014/01/03/access ... from-xojo/

If the side headers are static, you can create them with InDesign or any other PDF editor and use them as page backgrounds.
Or maybe draw them with PDFsharp.
Or create them with MigraDoc in a separate document in landscape format and combine both documents while rendering.

Many ways to chose from, depending on the requirements.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
 Post subject: Re: Side header
PostPosted: Wed Jun 28, 2017 5:05 am 
Offline

Joined: Tue Apr 26, 2016 8:24 pm
Posts: 20
Thank you very much, I will give it a try with textframe and orientation.

But how to make it appear in all pages?

Thomas Hoevel wrote:
Hi!
MariusIonut wrote:
It is possible to have side headers in MigraDoc?
Yes.
You can use a "TextFrame" object and set the "Orientation" property:
https://blog.xojo.com/2014/01/03/access ... from-xojo/

If the side headers are static, you can create them with InDesign or any other PDF editor and use them as page backgrounds.
Or maybe draw them with PDFsharp.
Or create them with MigraDoc in a separate document in landscape format and combine both documents while rendering.

Many ways to chose from, depending on the requirements.


Top
 Profile  
Reply with quote  
 Post subject: Re: Side header
PostPosted: Thu Jun 29, 2017 8:58 am 
Offline
empira Employee
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 2719
Location: Cologne, Germany
MariusIonut wrote:
But how to make it appear in all pages?
You can add it to page header or page footer. If you give the side header an absolute position on the page, either header or footer can be used.

_________________
Regards
Thomas Hoevel
PDFsharp Team


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

All times are UTC


Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 10 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:  
Powered by phpBB® Forum Software © phpBB Group