1

Is it possible to convert a webpage along with images and preserving styles into PDF document using open libraries like iTextSharp using C#.

ThinkingStiff
  • 64,767
  • 30
  • 146
  • 239
TrustyCoder
  • 4,749
  • 10
  • 66
  • 119

1 Answers1

0

Yes but.

iText[Sharp]'s style support is spotty at best. Your absolute best html->pdf bet is wkhtmltopdf. I haven't tried it personally, but it seems to have all its ducks in a row.

Mark Storer
  • 15,672
  • 3
  • 42
  • 80