PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Mon Jul 01, 2024 10:14 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Mar 31, 2011 4:45 am 
Offline

Joined: Thu Mar 31, 2011 4:38 am
Posts: 2
Hi, I'm pretty new to using PDF Sharp and I'm having trouble figuring out how to modify the page size of an existing document. My goal is to endorse text onto an existing PDF without overlapping the page contents. I've figured out how to draw the text using XGraphics, but I can't seem to figure out how to shrink the page contents so the text doesn't overlap. Any help is appreciated, thanks!


Top
 Profile  
Reply with quote  
PostPosted: Thu Mar 31, 2011 8:46 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3100
Location: Cologne, Germany
Hi,

I'm afraid I don't fully understand what you want to achieve.
I'd do it like the Two Pages on One sample does it (it imports existing pages and uses them at reduced size).

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Fri Apr 01, 2011 2:06 am 
Offline

Joined: Thu Mar 31, 2011 4:38 am
Posts: 2
Ah, that helps. That's along the lines of what I'm looking for, but the output PDF loses it's bookmarks. I see the sample of how to create new bookmarks, but I'm having trouble figuring out how to grab the bookmarks from the original PDF.


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

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 51 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