---
title: iconType()
framework: pdfkit
role: symbol
role_heading: Instance Method
path: pdfkit/pdfannotationtext/icontype()
---

# iconType()

Returns the icon type for the annotation.

## Declaration

```swift
func iconType() -> PDFTextAnnotationIconType
```

## Return Value

Return Value The icon type of the annotation.

## See Also

### Related Documentation

- [PDFTextAnnotationIconType](pdfkit/pdftextannotationicontype.md)

### Managing the Annotation Icon’s Type

- [setIconType(_:)](pdfkit/pdfannotationtext/seticontype(_:).md)
