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.