---
title: widgetFieldType
framework: pdfkit
role: symbol
role_heading: Instance Property
path: pdfkit/pdfannotation/widgetfieldtype
---

# widgetFieldType

The type of widget annotation, such as button, choice, or text.

## Declaration

```swift
var widgetFieldType: PDFAnnotationWidgetSubtype { get set }
```

## Mentioned in

Adding Widgets to a PDF Document

## See Also

### Configuring Widget Annotations

- [widgetStringValue](pdfkit/pdfannotation/widgetstringvalue.md)
- [widgetDefaultStringValue](pdfkit/pdfannotation/widgetdefaultstringvalue.md)
- [fieldName](pdfkit/pdfannotation/fieldname.md)
- [backgroundColor](pdfkit/pdfannotation/backgroundcolor.md)
- [isReadOnly](pdfkit/pdfannotation/isreadonly.md)
- [PDFWidgetControlType](pdfkit/pdfwidgetcontroltype.md)
- [PDFAppearanceCharacteristics](pdfkit/pdfappearancecharacteristics.md)
