---
title: controlType
framework: pdfkit
role: symbol
role_heading: Instance Property
path: pdfkit/pdfappearancecharacteristics/controltype
---

# controlType

The type of button widget annotation.

## Declaration

```swift
var controlType: PDFWidgetControlType { get set }
```

## See Also

### Configuring a Widget’s Appearance

- [backgroundColor](pdfkit/pdfappearancecharacteristics/backgroundcolor.md)
- [borderColor](pdfkit/pdfappearancecharacteristics/bordercolor.md)
- [caption](pdfkit/pdfappearancecharacteristics/caption.md)
- [downCaption](pdfkit/pdfappearancecharacteristics/downcaption.md)
- [rolloverCaption](pdfkit/pdfappearancecharacteristics/rollovercaption.md)
- [rotation](pdfkit/pdfappearancecharacteristics/rotation.md)
- [appearanceCharacteristicsKeyValues](pdfkit/pdfappearancecharacteristics/appearancecharacteristicskeyvalues.md)
- [PDFAppearanceCharacteristicsKey](pdfkit/pdfappearancecharacteristicskey.md)
