hi im trying to make to add my image base64 to the pdf
' Create a Document object
Dim document = New Document(PageSize.A4, 50, 50, 25, 25)
' Create a new PdfWrite object, writing the output to a MemoryStream
Dim output = New MemoryStream()
Dim writer = PdfWriter.GetInstance(document, output)
' Open the Document for writing
document.Open()
' Read in the contents of the Receipt.htm HTML template file
Dim contents As String = File.ReadAllText(Server.MapPath("/content/template/Receipt.htm"))
Dim text = Page.Request.Form("sign").ToString()
' document.Add(signature)
' Replace the placeholders with the user-specified text
contents = contents.Replace("[ORDERID]", txtOrderID.Text)
contents = contents.Replace("[TOTALPRICE]", Convert.ToDecimal(txtTotalPrice.Text).ToString ...
Go to the complete details ...