PDFsharp & MigraDoc Forum

PDFsharp - A .NET library for processing PDF & MigraDoc - Creating documents on the fly
It is currently Thu Oct 30, 2025 3:45 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules

Also see our new Tailored Support & Services site.



Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu Jan 30, 2014 8:49 pm 
Offline

Joined: Thu Jan 30, 2014 8:05 pm
Posts: 2
Is it possible to create a pdf file that when you open it, it opens with Page Layout forced to Single Page, and Zoom: Fit Page ?

Kind regards.


Attachments:
example page layout.jpg
example page layout.jpg [ 19.94 KiB | Viewed 5689 times ]
Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 03, 2014 10:41 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3136
Location: Cologne, Germany
I think this can be done.
Did you check out this sample (it should get you started):
http://www.pdfsharp.net/wiki/WorkOnPdfO ... ample.ashx

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 03, 2014 8:50 pm 
Offline

Joined: Thu Jan 30, 2014 8:05 pm
Posts: 2
It might work for the second part of my question (fit page); but how to manage single page instead of single page continious, or others like two-up or automatic?
see example


Attachments:
example page layout 2.jpg
example page layout 2.jpg [ 10.89 KiB | Viewed 5681 times ]
Top
 Profile  
Reply with quote  
PostPosted: Tue Feb 04, 2014 9:11 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3136
Location: Cologne, Germany
Someone will have to check chapter 3 in Adobe's PDF Reference (or whichever chapter this is in the latest version of the reference) to see if this can be done - and I'm afraid I won't find the time this week.

_________________
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: No registered users and 85 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