Discussion:
[iText-questions] iTextSharp img on HTML conversion
Manfred Jehle
2010-06-04 12:27:50 UTC
Permalink
Hi



I try to generate a PDF File with iTextSharp from a HTML - Text and Table
content works perfect. Images are positioned wrong - the image flows not in
the text at the right position! I expect first the h1 part and than the
image - I get the H1 part and the Image is in the background and the start
position is at the right position (after h1) but the image grows out of the
page start.



Have anyone an example to generate PDF from HTML with images?



My HTML is: <html><body><h1>Title</h1><img
src=\"Loading Image...\" /></body></html>



Kind regards

Manfred
Manfred Jehle
2010-06-07 13:26:37 UTC
Permalink
Hi



I try to generate a PDF File with iTextSharp from a HTML - Text and Table
content works perfect. Images are positioned wrong - the image flows not in
the text at the right position! I expect first the h1 part and than the
image - I get the H1 part and the Image is in the background and the start
position is at the right position (after h1) but the image grows out of the
page start.



Have anyone an example to generate PDF from HTML with images?



My HTML is: <html><body><h1>Title</h1><img
src=\"http://www.ricardo.ch/ImgWeb/2/V3/header/logo.gif\" /></body></html>



Kind regards

Manfred

Loading...