Posted on: 5/14/2012 3:45:24 AM | Views : 285

Hi

how can i add paragraph and image in only one tablecell?

Here is my scriptcode
[...] 'If rdr("dokstatus") > 3 Then Dim jpg = iTextSharp.text.Image.GetInstance(imgpath1 & "/sblumekl.png") jpg.ScalePercent(50.0F) 'End If Dim cThema As String = rdr("kTitel") & " (" & rdr("pz") & ") [" & rdr("kzl") & "] " & vbCrLf & rdr("bemerkungen") Dim cThemen As New PdfPCell(New iTextSharp.text.Paragraph(cThema.ToString, FontStyle)) cThemen.Border = iTextSharp.text.Rectangle.NO_BORDER cThemen.VerticalAlignment = iTextSharp.text.Element.ALIGN_TOP cThemen.Padding = 2.0F 'Dim p2 As New iTextSharp.text.Phrase 'p2.Add(jpg) 'p2.Add(cThemen) table.AddCell(cThemen) ' adding jpg to this tablecell [...] ...

Go to the complete details ...