PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index PDFsharp - moved to http://forum.pdfsharp.net/
Please visit the new PDFsharp forum at http://forum.pdfsharp.net/
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Resize a PDF Page

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Support - moved to http://forum.pdfsharp.net/
View previous topic :: View next topic  
Author Message
LCSSoft



Joined: 18 Jun 2008
Posts: 1
Location: Canada

PostPosted: Wed Jun 18, 2008 8:58 pm    Post subject: Resize a PDF Page Reply with quote

We are looking for a way to have a PDF page resized. Somehow one of our systems generated PDF Pages that are 36 inches x 48 inches, and we need to resize down to A4/Letter

We've blown the week going over the "two pages one page" example, but are hoping to rather generate a function, that would take a PDF page, and convert it to the properly sized pdf page.

The example seems to want to convert a whole document, but we only want to go as far as a page within the document. Is there a better way then to conver that one (source) page, to a document, then to a form, then copy that form into the page as a graphics? Or is that the way to do it.
Back to top
View user's profile Send private message
Thomas Hoevel



Joined: 16 Oct 2006
Posts: 387
Location: Cologne, Germany

PostPosted: Thu Jun 19, 2008 11:12 am    Post subject: Reply with quote

If you change the size of the page (dunno if this can be done with PDFsharp) then you'll also have to move and resize all the items on the page, resize the fonts, change the widths of lines, ...
And all that to save a few bytes of overhead?

So I think the "two pages on one" sample shows what you have to do.
It's simple to program, it runs fast - I'd do it that way.
_________________
Regards
Thomas Hoevel
PDFsharp Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Support - moved to http://forum.pdfsharp.net/ All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


Start Your Own YouTube Clone

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!
For Support, visit Forums.BizHat.com