PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Aug 13, 2020 3:08 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: PDF Orientation
PostPosted: Tue Jun 26, 2007 3:11 pm 
Offline

Joined: Tue Jun 26, 2007 1:13 pm
Posts: 1
Hello,

i try to merge some pdf files. One of these pdf files has orientation "Landscape" and a rotation of 90. If i add this page with

"page = m_ContentDoc.AddPage(doc.Pages[i]);"

1. page.Orientation is "Portrait" and
2. page.Height = doc.Pages[i].Width and page.Width = doc.Pages[i].Height.

So in the merged pdf file this page is no longer of orientation "Landscape" but the content of the page is correctly still "Landscape".

Is there any problem reading pdf files with rotations other than 0 ?


Thanks Christian


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 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:  
cron
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group