PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Jul 14, 2024 6:19 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
 Post subject: Fit To Page
PostPosted: Wed Dec 01, 2010 9:47 am 
Offline

Joined: Wed Dec 01, 2010 9:42 am
Posts: 2
Hi,
How can i set Fit To Page / Shrink To Fit Property while creating pdf from image.
My Issue is that my code is printing cutImage only.
Please suggest ASAP.

Thanks,
SD


Top
 Profile  
Reply with quote  
 Post subject: Re: Fit To Page
PostPosted: Wed Dec 01, 2010 10:59 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
DrawImage draws the image with the size you specify.
Just specify a size that fits on the page (with the margins you want) and you're done.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
 Post subject: Re: Fit To Page
PostPosted: Wed Dec 01, 2010 11:05 am 
Offline

Joined: Wed Dec 01, 2010 9:42 am
Posts: 2
Hi Thomas,
Thanks for your quick reply.

Regards,
SD


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: Google [Bot] and 30 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