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

Represents a free text annotation (text box).

using Nutrient;

Inherits from: PdfMarkupAnnotation

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

Properties

DefaultAppearance

public string DefaultAppearance { get; }

The default appearance string.

Type: string

IsCallout

public bool IsCallout { get; }

Whether this is a callout annotation.

Type: bool

TextAlignment

public string TextAlignment { get; }

The text alignment (0=Left, 1=Center, 2=Right).

Type: string

Resource management

public void Dispose()

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