---
title: "setMarkupType(_:)"
framework: pdfkit
role: symbol
role_heading: Instance Method
path: "pdfkit/pdfannotationmarkup/setmarkuptype(_:)"
---

# setMarkupType(_:)

Sets the markup style.

## Declaration

```swift
func setMarkupType(_ type: PDFMarkupType)
```

## See Also

### Related Documentation

- [PDFMarkupType](pdfkit/pdfmarkuptype.md)

### Working with Markup Style

- [markupType()](pdfkit/pdfannotationmarkup/markuptype().md)
