# Add link annotation The page describes how to add link annotation to a document using GroupDocs.Annotation for .NET. Link annotation adds a hyperlink to document as shown in the picture below: ![](https://docs.groupdocs.com/annotation/net/images/add-link-annotation.png) You can set the following properties of the  [LinkAnnotation](https://reference.groupdocs.com/net/annotation/groupdocs.annotation.models.annotationmodels/linkannotation) class: * [Url](https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/linkannotation/properties/url) defines link to a web resource * [Points](https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/linkannotation/properties/points) defines the annotation positions as an array of points. To add a link annotation, follow these steps: 1. Instantiate the [Annotator](https://reference.groupdocs.com/net/annotation/groupdocs.annotation/annotator) class. Specify the input document path or stream. 2. Instantiate the [LinkAnnotation](https://reference.groupdocs.com/net/annotation/groupdocs.annotation.models.annotationmodels/linkannotation) class. Specify the appropriate properties (position, page number, etc). 3. Call the [Add](https://reference.groupdocs.com/net/annotation/groupdocs.annotation/annotator/methods/add) method. Specify the [LinkAnnotation](https://reference.groupdocs.com/net/annotation/groupdocs.annotation.models.annotationmodels/linkannotation) class. 4. Call the [Save](https://reference.groupdocs.com/net/annotation/groupdocs.annotation/annotator/methods/save/index) method. Specify the output document path or stream. The following code snippet shows how to add [LinkAnnotation](https://reference.groupdocs.com/net/annotation/groupdocs.annotation.models.annotationmodels/linkannotation) to the document: {{< tabs "example1">}} {{< tab "C#" >}} ```csharp //Add link annotation to the document from local disk using (Annotator annotator = new Annotator("input.pdf")) { LinkAnnotation link= new LinkAnnotation { Url = "https://www.groupdocs.com/", CreatedOn = DateTime.Now, Message = "This is link annotation", BackgroundColor = 65535, PageNumber = 0, Points = new List { new Point(80, 730), new Point(240, 730), new Point(80, 650), new Point(240, 650) }, Replies = new List { new Reply { Comment = "First comment", RepliedOn = DateTime.Now }, new Reply { Comment = "Second comment", RepliedOn = DateTime.Now } } }; annotator.Add(link); annotator.Save("result.pdf"); } ``` {{< /tab >}} {{< /tabs >}}