<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PDFKit",
  "identifier" : "/documentation/PDFKit/PDFAnnotation/init(bounds:forType:withProperties:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "PDFKit"
    ],
    "preciseIdentifier" : "c:objc(cs)PDFAnnotation(im)initWithBounds:forType:withProperties:"
  },
  "title" : "init(bounds:forType:withProperties:)"
}
-->

# init(bounds:forType:withProperties:)

Creates a PDF annotation with the specified bounds, type, and optional properties.

```
init(bounds: NSRect, forType annotationType: PDFAnnotationSubtype, withProperties properties: [AnyHashable : Any]?)
```

## Parameters

`bounds`

The bounding box of the annotation, in page-space coordinates.

`annotationType`

The subtype of the annotation, such as text, link, or line.

`properties`

A dictionary that contains properties of the annotation.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)