---
title: "Editing PDF annotations in MAUI applications | Nutrient"
canonical_url: "https://www.nutrient.io/guides/maui/annotations/create-edit-and-remove/edit/"
md_url: "https://www.nutrient.io/guides/maui/annotations/create-edit-and-remove/edit.md"
last_updated: "2026-05-23T00:08:18.135Z"
description: "In addition to providing an API for creating annotations, we also offer an API for updating those annotations. To update annotations."
---

# Edit PDF annotations in MAUI

In addition to providing an API for creating annotations, we also offer an API for updating those annotations. To update annotations, you can use the [`IAnnotationManager.UpdateAnnotation()`](https://www.nutrient.io/api/maui/api/PSPDFKit.Api.Annotation.IAnnotationManager.html#PSPDFKit_Api_Annotation_IAnnotationManager_AddAnnotation_PSPDFKit_Api_Annotation_IAnnotation_) method:

```csharp

var annotations = await _annotationManager.GetAnnotationsOnPageAsync(0);
var annotationToUpdate = annotations[0];
annotationToUpdate.ShouldRender =!annotationToUpdate.ShouldRender;
await _annotationManager.UpdateAnnotation(annotationToUpdate);

```

Following the optimistic UI approach, the changes will be instantly visible in the UI, but they aren’t persisted until the annotations are saved. This is done by saving them [using JavaScript APIs](https://www.nutrient.io/guides/maui/advanced-access-apis.md). You can [save them to external storage](https://www.nutrient.io/guides/web/annotations/save/to-external-storage.md) or [embed them into a document](https://www.nutrient.io/guides/web/annotations/save/embed-into-pdf.md). They can also be exported to [Instant JSON](https://www.nutrient.io/guides/maui/annotations/instant-json.md) using native APIs or [XFDF](https://www.nutrient.io/guides/web/importing-exporting/xfdf-support.md) by bridging JavaScript APIs.
---

## Related pages

- [Adding annotations to images](/guides/maui/annotations/create-edit-and-remove/add-annotation-to-image.md)
- [Remove PDF annotations in MAUI](/guides/maui/annotations/create-edit-and-remove/remove.md)
- [Create PDF annotations in our MAUI viewer](/guides/maui/annotations/create-edit-and-remove/create.md)

