// For complete examples and data files, please go to https://github.com/groupdocsannotation/GroupDocs_Annotation_NET
// Get input file stream
Stream inputFile = new FileStream(CommonUtilities.MapSourceFilePath(filePath), FileMode.Open, FileAccess.ReadWrite);
// Initialize list of AnnotationInfo
List<AnnotationInfo> annotations = new List<AnnotationInfo>();
// Arrow annotation
AnnotationInfo arrowAnnotation = new AnnotationInfo
{
AnnotationPosition = new Point(852.0, 252.0),
Box = new Rectangle(279.4742f, 252.9241f, 129.9555f, -9.781596f),
PageNumber = 0,
PenColor = 1201033,
PenStyle = 0,
PenWidth = 1,
SvgPath = "M279.47417840375584,252.92413145539905 L129.9554929577465,-9.781596244131455",
Type = AnnotationType.Arrow,
CreatorName = "Anonym A."
};
// Add annotation to list
annotations.Add(arrowAnnotation);
// Export annotation and save output file
CommonUtilities.SaveOutputDocument(inputFile, annotations, DocumentType.Slides);