//Add replacement annotation to the document from local diskusing(Annotatorannotator=newAnnotator("input.pdf")){ReplacementAnnotationreplacement=newReplacementAnnotation{CreatedOn=DateTime.Now,FontColor=65535,Message="This is replacement annotation",Opacity=0.7,PageNumber=0,FontSize=11,Points=newList<Point>{newPoint(80,730),newPoint(240,730),newPoint(80,650),newPoint(240,650)},Replies=newList<Reply>{newReply{Comment="First comment",RepliedOn=DateTime.Now},newReply{Comment="Second comment",RepliedOn=DateTime.Now}},TextToReplace="replaced text"};annotator.Add(replacement);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.