This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /api/csharp/editors/pdf/annotations/pdf-annotation.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. PdfAnnotation

Represents a base annotation in a PDF document.

using Nutrient;

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

Properties

BlendMode

public string BlendMode { get; }

The blend mode of the annotation (e.g., “Normal”, “Multiply”). Returns an empty string if no blend mode is explicitly set on the annotation, which indicates the default/unspecified blend mode.

Type: string

BorderEffect

public string BorderEffect { get; }

The border effect style (e.g., “S” for solid/no effect, “C” for cloudy).

Type: string

BorderEffectIntensity

public float BorderEffectIntensity { get; }

The border effect intensity (0 = no effect, higher values = more pronounced).

Type: float

BorderStyle

public PdfBorderStyle BorderStyle { get; set; }

The border style of the annotation.

Type: PdfBorderStyle

BorderWidth

public float BorderWidth { get; set; }

The border width of the annotation in points.

Type: float

Color

public Color Color { get; set; }

The annotation color.

Type: Color

Contents

public string Contents { get; set; }

The annotation’s text contents.

Type: string

Index

public int Index { get; }

The 0-based index of this annotation in the page’s annotation array.

Type: int

IsHidden

public bool IsHidden { get; set; }

Whether the annotation is hidden.

Type: bool

IsPrintable

public bool IsPrintable { get; set; }

Whether the annotation is printable.

Type: bool

ModificationDate

public string ModificationDate { get; }

The annotation’s modification date.

Type: string

Name

public string Name { get; }

The annotation’s unique name/identifier.

Type: string

Rect

public RectF? Rect { get; set; }

The rectangle that defines the location and size of the annotation on the page.

Type: RectF?

SubType

public string SubType { get; }

The annotation subtype (e.g., “Text”, “Link”, “Highlight”).

Type: string

Title

public string Title { get; set; }

The annotation’s title/author.

Type: string

Resource management

public void Dispose()

PdfAnnotation 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.