Skip to content

Instantly share code, notes, and snippets.

@GroupDocsGists
Last active November 29, 2019 10:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GroupDocsGists/f7a441586562cade2815891578dd5acc to your computer and use it in GitHub Desktop.
Save GroupDocsGists/f7a441586562cade2815891578dd5acc to your computer and use it in GitHub Desktop.
// For complete examples and data files, please go to https://github.com/groupdocs-annotation/GroupDocs.Annotation-for-.NET
using (Annotator annotator = new Annotator("input.pdf"))
{
PointAnnotation point = new PointAnnotation
{
Box = new Rectangle(100, 100, 0, 0),
CreatedOn = DateTime.Now,
PageNumber = 0
};
annotator.Add(point);
annotator.Save("result.pdf"));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment