Call the Save method. Specify the output document path or stream.
The following code snippet shows how to add PointAnnotation to the document:
//Add point annotation to the document from local diskusing(Annotatorannotator=newAnnotator("input.pdf")){PointAnnotationpoint=newPointAnnotation{Box=newRectangle(100,100,0,0),CreatedOn=DateTime.Now,Message="This is point annotation",PageNumber=0,Replies=newList<Reply>{newReply{Comment="First comment",RepliedOn=DateTime.Now},newReply{Comment="Second comment",RepliedOn=DateTime.Now}}};annotator.Add(point);annotator.Save("result.pdf"));}
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.