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

# bounds

Returns the bounding box for the annotation in page space.

## Declaration

```swift
var bounds: CGRect { get set }
```

```swift
var bounds: NSRect { get set }
```

## Return Value

Return Value The bounding box for the annotation in page space.

## Discussion

Discussion Page space is a 72-dpi coordinate system with the origin at the lower-left corner of the current page.

## See Also

### Managing Annotation Display Characteristics

- [alignment](pdfkit/pdfannotation/alignment.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)
- [hasAppearanceStream](pdfkit/pdfannotation/hasappearancestream.md)
