Skip to content

Instantly share code, notes, and snippets.

@GroupDocsGists
Created August 6, 2019 19:08
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/efda5562031b02b9d701981f52aa4789 to your computer and use it in GitHub Desktop.
Save GroupDocsGists/efda5562031b02b9d701981f52aa4789 to your computer and use it in GitHub Desktop.
// Initialize list of AnnotationInfo
List<AnnotationInfo> annotations = new List<AnnotationInfo>();
// Initialize ellipse annotation.
AnnotationInfo ellipse = new AnnotationInfo
{
Box = new Rectangle(100, 100, 50, 50),
Type = AnnotationType.Ellipse;
};
// Add annotation to list
annotations.Add(ellipse);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment