Author: q8_dreamy | Posted on: 4/6/2010 5:46:05 AM | Views : 301

I converted text in labels to paragraphs in pdf file, how can I add image saved in folder called images inside the web to this paragraph
This is the code:
Dim d As New Document()
        PdfWriter.GetInstance(d, New FileStream(Server.MapPath("pdf") + "\\" + "news.pdf", FileMode.Create))

        Dim bflatha As BaseFont = BaseFont.CreateFont("C:\WINDOWS\Fonts\Tahoma.ttf", BaseFont.IDENTITY_H, False)
        Dim Font As Font = New Font(bflatha, 10)
        d.Open()

        '/\/\/\/\ Adding the labels /\/\/\/\

        Dim ph As Paragraph = New Paragraph(Me.Label17.Text, Font)
        Dim ph2 As Paragraph = New Paragraph(Me.Label19.Text, Fo ...

Go to the complete details ...