How to print a large image in C#?

Print the image in PDF in C#.net window application

  • I want the code for Print the image in pdf.I am having one image and one "Print" button in my form. When i click on that print then image should print in pdf.

  • Answer:

    We've used http://www.pdfsharp.com/PDFsharp/ pretty heavily and had pretty good luck with it. I would start there and the documentation should allow you to get to your goal pretty quickly.

Bhoomi at Stack Overflow Visit the source

Was this solution helpful to you?

Other answers

I've had good results with the open-source iTextSharp, which can easily add images to PDF files. Here is an article from Mike's DotNetting: http://www.mikesdotnetting.com/Article/87/iTextSharp-Working-with-images

Turnkey

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.