---
title: rolloverCaption
framework: pdfkit
role: symbol
role_heading: Instance Property
path: pdfkit/pdfappearancecharacteristics/rollovercaption
---

# rolloverCaption

The text that the widget annotation displays when the user hovers the pointer over it.

## Declaration

```swift
var rolloverCaption: String? { get set }
```

## See Also

### Configuring a Widget’s Appearance

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