---
title: "PdfMarkupAnnotation"
canonical_url: "https://www.nutrient.io/api/python/editors/pdf/annotations/pdf-markup-annotation/"
md_url: "https://www.nutrient.io/api/python/editors/pdf/annotations/pdf-markup-annotation.md"
last_updated: "2026-06-09T10:32:42.528Z"
description: "Represents a markup annotation that can have replies and additional properties."
---

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

```python

from nutrient_sdk import PdfMarkupAnnotation

```

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

## Construction

`PdfMarkupAnnotation` cannot be instantiated directly. Obtain instances through static factory methods or via other SDK classes.

## Properties

### creation_date

```python

@property
def creation_date(self) -> str

```

The creation date of the annotation.

**Type:** `str`

*Read-only property.*

---

### opacity

```python

@property
def opacity(self) -> float

@opacity.setter
def opacity(self, value: float) -> None

```

The opacity of the annotation (0.0 to 1.0).

**Type:** `float`

---

### rich_text_contents

```python

@property
def rich_text_contents(self) -> str

```

The rich text contents of the annotation.

**Type:** `str`

*Read-only property.*

---

### subject

```python

@property
def subject(self) -> str

@subject.setter
def subject(self, value: str) -> None

```

The subject of the annotation.

**Type:** `str`

---

## Inherited members

From [`PdfAnnotation`](../pdf-annotation/): `blend_mode`, `border_effect`, `border_effect_intensity`, `border_style`, `border_width`, `color`, `contents`, `index`, `is_hidden`, `is_printable`, `modification_date`, `name`, `rect`, `sub_type`, `title`

## Inheritors

- [`PdfFreeTextAnnotation`](/api/python/editors/pdf/annotations/pdf-free-text-annotation/)

- [`PdfHighlightAnnotation`](/api/python/editors/pdf/annotations/pdf-highlight-annotation/)

- [`PdfRedactAnnotation`](/api/python/editors/pdf/annotations/pdf-redact-annotation/)

- [`PdfShapeAnnotation`](/api/python/editors/pdf/annotations/pdf-shape-annotation/)

- [`PdfSquigglyAnnotation`](/api/python/editors/pdf/annotations/pdf-squiggly-annotation/)

- [`PdfStampAnnotation`](/api/python/editors/pdf/annotations/pdf-stamp-annotation/)

- [`PdfStrikeOutAnnotation`](/api/python/editors/pdf/annotations/pdf-strike-out-annotation/)

- [`PdfTextAnnotation`](/api/python/editors/pdf/annotations/pdf-text-annotation/)

- [`PdfUnderlineAnnotation`](/api/python/editors/pdf/annotations/pdf-underline-annotation/)

---

## Related pages

- [All public classes import directly from the top-level package:](/api/python/editors/pdf/annotations.md)
- [Pdf Annotation](/api/python/editors/pdf/annotations/pdf-annotation.md)
- [Pdf Circle Annotation](/api/python/editors/pdf/annotations/pdf-circle-annotation.md)
- [Pdf Annotation Collection](/api/python/editors/pdf/annotations/pdf-annotation-collection.md)
- [Pdf Highlight Annotation](/api/python/editors/pdf/annotations/pdf-highlight-annotation.md)
- [Pdf Line Annotation](/api/python/editors/pdf/annotations/pdf-line-annotation.md)
- [Pdf Link Annotation](/api/python/editors/pdf/annotations/pdf-link-annotation.md)
- [Pdf Shape Annotation](/api/python/editors/pdf/annotations/pdf-shape-annotation.md)
- [Pdf Redact Annotation](/api/python/editors/pdf/annotations/pdf-redact-annotation.md)
- [Pdf Free Text Annotation](/api/python/editors/pdf/annotations/pdf-free-text-annotation.md)
- [Pdf Square Annotation](/api/python/editors/pdf/annotations/pdf-square-annotation.md)
- [Pdf Squiggly Annotation](/api/python/editors/pdf/annotations/pdf-squiggly-annotation.md)
- [Pdf Stamp Annotation](/api/python/editors/pdf/annotations/pdf-stamp-annotation.md)
- [Pdf Strike Out Annotation](/api/python/editors/pdf/annotations/pdf-strike-out-annotation.md)
- [Pdf Underline Annotation](/api/python/editors/pdf/annotations/pdf-underline-annotation.md)
- [Pdf Text Annotation](/api/python/editors/pdf/annotations/pdf-text-annotation.md)
- [Pdf Widget Annotation](/api/python/editors/pdf/annotations/pdf-widget-annotation.md)

