---
title: hasAppearanceStream
framework: pdfkit
role: symbol
role_heading: Instance Property
path: pdfkit/pdfannotation/hasappearancestream
---

# hasAppearanceStream

Returns a Boolean value that indicates whether the annotation has an appearance stream associated with it.

## Declaration

```swift
var hasAppearanceStream: Bool { get }
```

## Mentioned in

Adding Custom Graphics to a PDF

## Return Value

Return Value true if the annotation has an appearance stream; otherwise false.

## Discussion

Discussion An appearance stream is a sequence of draw instructions used to render a PDF item. If an appearance stream exists, PDF Kit draws the annotation using the stream, which may override existing set parameters (such as the stroke color set with setColor).

## See Also

### Managing Annotation Display Characteristics

- [alignment](pdfkit/pdfannotation/alignment.md)
- [bounds](pdfkit/pdfannotation/bounds.md)
- [contents](pdfkit/pdfannotation/contents.md)
- [font](pdfkit/pdfannotation/font.md)
- [fontColor](pdfkit/pdfannotation/fontcolor.md)
- [border](pdfkit/pdfannotation/border.md)
- [PDFBorder](pdfkit/pdfborder.md)
- [isHighlighted](pdfkit/pdfannotation/ishighlighted.md)
- [color](pdfkit/pdfannotation/color.md)
