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

Represents a widget annotation (form field).

using Nutrient;

Inherits from: PdfAnnotation

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

Properties

AlternateFieldName

public string AlternateFieldName { get; }

The alternate field name for display.

Type: string

FieldName

public string FieldName { get; }

The field name (partial name).

Type: string

FieldType

public string FieldType { get; }

The field type (Tx, Btn, Ch, Sig).

Type: string

IsButton

public bool IsButton { get; }

Whether this is a button (checkbox, radio button, or push button).

Type: bool

IsChoiceField

public bool IsChoiceField { get; }

Whether this is a choice field (combo box or list box).

Type: bool

IsSignatureField

public bool IsSignatureField { get; }

Whether this is a signature field.

Type: bool

IsTextField

public bool IsTextField { get; }

Whether this is a text field.

Type: bool

Resource management

public void Dispose()

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