Programmatically annotate PDF files in C#. Add or remove annotations like arrows, rectangle, ellipse, highlight, watermark annotations using .NET API....may also use the following command from the Package Manager. PM>...DistanceAnnotation class. Set the appearance, line color, thickness, style, etc...