I was successfully able to stamp text on an existing pdf file. But the problem arise when it doesn’t show the stamptext in the pdfview control in windows forms. I even tried to referesh the pdfview using
Using s As Stamper = New Stamper(Stamper.SizeType.e_relative_scale, 0.05, 0.05)
s.SetSize(Stamper.SizeType.e_font_size, 80, -1)
s.SetFontColor(New ColorPt(1, 0, 0)) ’ set text color to red
s.StampText(_pdfdoc, “Document” + ControlChars.NewLine + “Cancelled”, New PageSet(1))
''Fora temporary solution I added these two lines
‘’ This doesn’t seem to be working
If anyone have any idea about this please share.