Re: [iText-questions] Antwort: Re: Converting Fax Tiff to PDF

2011-12-14 Thread Keith O
On Wed, Dec 14, 2011 at 3:59 PM, Hugh McLaughlin wrote: > Thanks for the response and offer.  I have attached the code in a text file.   > I'm not sure if it is a Java to C# to Vb.Net problem or a possible difference > between the iText and the iTextSharp port.  Since I'm pretty new to the whole

Re: [iText-questions] Antwort: Re: Converting Fax Tiff to PDF

2011-12-14 Thread Hugh McLaughlin
le bit with the differences. Thanks again. -Original Message- From: Keith O [mailto:kuujinbo.mail.l...@googlemail.com] Sent: Wednesday, December 14, 2011 10:01 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Antwort: Re: Converting Fax Tiff to PDF On Wed, De

Re: [iText-questions] Antwort: Re: Converting Fax Tiff to PDF

2011-12-14 Thread Keith O
: Post all your questions about iText here > Subject: Re: [iText-questions] Antwort: Re: Converting Fax Tiff to PDF > > On Wed, Dec 14, 2011 at 2:57 AM, Hugh McLaughlin wrote: >> Thanks for the response.  I tried changing over to Vb.Net which is >> what I am using in this p

Re: [iText-questions] Antwort: Re: Converting Fax Tiff to PDF

2011-12-14 Thread Hugh McLaughlin
t: Re: [iText-questions] Antwort: Re: Converting Fax Tiff to PDF On Wed, Dec 14, 2011 at 2:57 AM, Hugh McLaughlin wrote: > Thanks for the response.  I tried changing over to Vb.Net which is > what I am using in this project. However it is still not scaling > correctly.  Attached is th

Re: [iText-questions] Antwort: Re: Converting Fax Tiff to PDF

2011-12-13 Thread Keith O
On Wed, Dec 14, 2011 at 2:57 AM, Hugh McLaughlin wrote: > Thanks for the response.  I tried changing over to Vb.Net which is what I am > using in this project. However it is still not scaling correctly.  Attached > is the tiff and the resulting pdf. Benjamin's code works for me (iTextSharp 5.1.3)

[iText-questions] Antwort: Re: Converting Fax Tiff to PDF

2011-12-13 Thread Benjamin Rein
Hi Hugh, this is a working solution for Java. You just have to convert it to C#. if (img != null) { // scale if too big to fit on page if (img.getScaledWidth() > PageSize.A4.getWidth() || img.getScaledHeight() > PageSize.A4.getHeight()) { // if images have a dif