# Add resource redaction annotation The page describes how to add resource redaction annotation to a document using GroupDocs.Annotation for .NET. Resource redaction annotation fills black rectangle with fixed position to hide a text as shown in the picture below: ![](https://docs.groupdocs.com/annotation/net/images/add-resource-redaction-annotation.png) You can specify the following properties of the [ResourcesRedactionAnnotation](https://reference.groupdocs.com/net/annotation/groupdocs.annotation.models.annotationmodels/resourcesredactionannotation) class: * [Box](https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/resourcesredactionannotation/properties/box) defines the annotation on the page To add a resource redaction 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 [ResourceRedactionAnnotation](https://reference.groupdocs.com/net/annotation/groupdocs.annotation.models.annotationmodels/resourcesredactionannotation) 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 [ResourceRedactionAnnotation](https://reference.groupdocs.com/net/annotation/groupdocs.annotation.models.annotationmodels/resourcesredactionannotation) 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 [ResourcesRedactionAnnotation](https://reference.groupdocs.com/net/annotation/groupdocs.annotation.models.annotationmodels/resourcesredactionannotation) to the document: {{< tabs "example1">}} {{< tab "C#" >}} ```csharp //Add resource redaction annotation to the document from local disk using (Annotator annotator = new Annotator("input.pdf")) { ResourcesRedactionAnnotation resourcesRedaction = new ResourcesRedactionAnnotation { Box = new Rectangle(100, 100, 100, 100), CreatedOn = DateTime.Now, Message = "This is resources redaction annotation", PageNumber = 0, Replies = new List { new Reply { Comment = "First comment", RepliedOn = DateTime.Now }, new Reply { Comment = "Second comment", RepliedOn = DateTime.Now } } }; annotator.Add(resourcesRedaction); annotator.Save("result.pdf"); }  ``` {{< /tab >}} {{< /tabs >}}