I have Aspose.Pdf.Kit.lic and I am using Aspose.Pdf.Kit.dll. I used FIllImageField function to bind an image in dynamic PDF but this function is not working. I have attached a sample code.
Dim oPDF As Aspose.Pdf.Kit.Form = New Aspose.Pdf.Kit.Form(sPDFPath, outStream)
sSignatureImageURL = sSignatureImageURL.Replace(“reseller”, “”)
If File.Exists(sSignatureImageURL) Then
Using inputImageStream As Stream = New FileStream(sSignatureImageURL, FileMode.Open, FileAccess.Read)
oPDF.FillImageField(“signofemployee”, New FileStream(sSignatureImageURL, FileMode.Open, FileAccess.Read))
End Using
End If
oPDF.FlattenAllFields()
oPDF.Save()
Thanks in Advance