PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Fit To Page
https://forum.pdfsharp.net/viewtopic.php?f=2&t=1450
Page 1 of 1

Author:  shreeniwas [ Wed Dec 01, 2010 9:47 am ]
Post subject:  Fit To Page

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

Author:  Thomas Hoevel [ Wed Dec 01, 2010 10:59 am ]
Post subject:  Re: Fit To Page

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.

Author:  shreeniwas [ Wed Dec 01, 2010 11:05 am ]
Post subject:  Re: Fit To Page

Hi Thomas,
Thanks for your quick reply.

Regards,
SD

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/