Add PdfAnnotation Programatically

Questions, comments and suggestions concerning VintaSoft PDF .NET Plug-in.

Moderator: Alex

Post Reply
IntegraMike
Posts: 56
Joined: Mon Dec 02, 2019 11:19 pm

Add PdfAnnotation Programatically

Post by IntegraMike »

Hello, I'm trying to add a PdfFreeTextAnnotation to a PDF document without user interaction but am having trouble doing so. I am able to create the annotation just fine, but it requires a mouse click before the annotation is added to the document. Is there a good way to do this from code? Any suggestions would be appreciated.

Along these lines when I do add an annotation via the mouse click is there an easy way to immediately start edit mode (specifically I would do this if the annotation was blank)

Thanks!
Mike
Alex
Site Admin
Posts: 2314
Joined: Thu Jul 10, 2008 2:21 pm

Re: Add PdfAnnotation Programatically

Post by Alex »

Hello Mike,

Please see how to create a PdfFreeTextAnnotation to a PDF document without user interaction here:
https://www.vintasoft.com/docs/vsimagin ... ation.html

Best regards, Alexander
Post Reply