Reputation: 5532
Below code is adding text and image in separate lines. How can I display them in one line?
pdfDoc.Add(image)
pdfDoc.Add(New Paragraph(text))
Upvotes: 1
Views: 5302
Reputation: 5532
This is what I found, using Chunk()
:
Dim p As New Paragraph()
p.Add(New Chunk(image, 0, 0))
p.Add(text)
document.Add(p)
Upvotes: 2