Hi
We are using Aspose.Total Api for .net,i use folloeing code for add image in pdf file.
Aspose.Pdf.dll version is 10.2.0.0 .net 4.0 in asp.net
Protected Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
'Open document
Dim pdfLicense As Aspose.Pdf.License = New Aspose.Pdf.License()
pdfLicense.SetLicense(ConfigurationManager.AppSettings(“AsposeLic”))
Dim pdfDocument As New Document(“D:\ddd\ddd.pdf”)
'Create image stamp
Dim imageStamp As New ImageStamp(“C:\inetpub\wwwroot\OCR\images\img_OCR3Logo.png”)
imageStamp.Background = True
imageStamp.XIndent = 100
imageStamp.YIndent = 100
'imageStamp.Height = 300
'imageStamp.Width = 300
imageStamp.Rotate = Rotation.on180
’ imageStamp.Opacity = 0.5
'Add stamp to particular page
pdfDocument.Pages(1).AddStamp(imageStamp)
'Save output document
pdfDocument.Save(“D:\ddd\Logo.pdf”)
End Sub
In above code image not added in output file,image path correct,pdf file path also correct,just now i ask online support,he ask to remove Opacity ,but still same.
Pls reply asap
Regards
Aravind