---
title: "PdfMarkupAnnotation"
canonical_url: "https://www.nutrient.io/api/csharp/editors/pdf/annotations/pdf-markup-annotation/"
md_url: "https://www.nutrient.io/api/csharp/editors/pdf/annotations/pdf-markup-annotation.md"
last_updated: "2026-10-08T08:55:57.709Z"
description: "Represents a markup annotation that can have replies and additional properties."
---

Represents a markup annotation that can have replies and additional properties.

```csharp

using Nutrient;

```

**Inherits from:** [`PdfAnnotation`](/api/csharp/editors/pdf/annotations/pdf-annotation/)

The SDK creates this class through factory methods or other SDK objects.

## Properties

### CreationDate

```csharp

public string CreationDate { get; }

```

The creation date of the annotation.

**Type:** `string`

### Opacity

```csharp

public float Opacity { get; set; }

```

The opacity of the annotation (0.0 to 1.0).

**Type:** `float`

### RichTextContents

```csharp

public string RichTextContents { get; }

```

The rich text contents of the annotation.

**Type:** `string`

### Subject

```csharp

public string Subject { get; set; }

```

The subject of the annotation.

**Type:** `string`

## Resource management

```csharp

public void Dispose()

```

`PdfMarkupAnnotation` implements `IDisposable`. Call `Dispose()` or use a C# `using` declaration to release its native handle right away. If you don't, the handle is released when the object is garbage collected.

---

## Related pages

- [Annotations](/api/csharp/editors/pdf/annotations.md)
- [Pdf Annotation Collection](/api/csharp/editors/pdf/annotations/pdf-annotation-collection.md)
- [Pdf Annotation](/api/csharp/editors/pdf/annotations/pdf-annotation.md)
- [Pdf Circle Annotation](/api/csharp/editors/pdf/annotations/pdf-circle-annotation.md)
- [Pdf Free Text Annotation](/api/csharp/editors/pdf/annotations/pdf-free-text-annotation.md)
- [Pdf Highlight Annotation](/api/csharp/editors/pdf/annotations/pdf-highlight-annotation.md)
- [Pdf Line Annotation](/api/csharp/editors/pdf/annotations/pdf-line-annotation.md)
- [Pdf Link Annotation](/api/csharp/editors/pdf/annotations/pdf-link-annotation.md)
- [Pdf Redact Annotation](/api/csharp/editors/pdf/annotations/pdf-redact-annotation.md)
- [Pdf Shape Annotation](/api/csharp/editors/pdf/annotations/pdf-shape-annotation.md)
- [Pdf Square Annotation](/api/csharp/editors/pdf/annotations/pdf-square-annotation.md)
- [Pdf Squiggly Annotation](/api/csharp/editors/pdf/annotations/pdf-squiggly-annotation.md)
- [Pdf Stamp Annotation](/api/csharp/editors/pdf/annotations/pdf-stamp-annotation.md)
- [Pdf Strike Out Annotation](/api/csharp/editors/pdf/annotations/pdf-strike-out-annotation.md)
- [Pdf Text Annotation](/api/csharp/editors/pdf/annotations/pdf-text-annotation.md)
- [Pdf Underline Annotation](/api/csharp/editors/pdf/annotations/pdf-underline-annotation.md)
- [Pdf Widget Annotation](/api/csharp/editors/pdf/annotations/pdf-widget-annotation.md)

