vb.net - Add image and text in one line itextsharp -
below code adding text , image in separate lines. how can display them in 1 line?
pdfdoc.add(image) pdfdoc.add(new paragraph(text))
this found, using chunk()
:
dim p new paragraph() p.add(new chunk(image, 0, 0)) p.add(text) document.add(p)
Comments
Post a Comment