---
title: widgetValue
framework: pdfkit
role: symbol
role_heading: Type Property
path: pdfkit/pdfannotationkey/widgetvalue
---

# widgetValue

The widget’s value, typically for text and choice widgets.

## Declaration

```swift
static let widgetValue: PDFAnnotationKey
```

## Discussion

Discussion For radio button or checkbox widgets, the value for this key is typically Off if the button isn’t in a selected state; otherwise, buttonWidgetStateString.

## See Also

### Configuring Widget Annotations

- [widgetAppearanceDictionary](pdfkit/pdfannotationkey/widgetappearancedictionary.md)
- [widgetBackgroundColor](pdfkit/pdfannotationkey/widgetbackgroundcolor.md)
- [widgetBorderColor](pdfkit/pdfannotationkey/widgetbordercolor.md)
- [widgetCaption](pdfkit/pdfannotationkey/widgetcaption.md)
- [widgetDefaultValue](pdfkit/pdfannotationkey/widgetdefaultvalue.md)
- [widgetDownCaption](pdfkit/pdfannotationkey/widgetdowncaption.md)
- [widgetFieldFlags](pdfkit/pdfannotationkey/widgetfieldflags.md)
- [widgetFieldType](pdfkit/pdfannotationkey/widgetfieldtype.md)
- [widgetMaxLen](pdfkit/pdfannotationkey/widgetmaxlen.md)
- [widgetOptions](pdfkit/pdfannotationkey/widgetoptions.md)
- [widgetRolloverCaption](pdfkit/pdfannotationkey/widgetrollovercaption.md)
- [widgetRotation](pdfkit/pdfannotationkey/widgetrotation.md)
- [widgetTextLabelUI](pdfkit/pdfannotationkey/widgettextlabelui.md)
- [PDFAnnotationWidgetSubtype](pdfkit/pdfannotationwidgetsubtype.md)
