---
title: "init(page:at:)"
framework: pdfkit
role: symbol
role_heading: Initializer
path: "pdfkit/pdfdestination/init(page:at:)"
---

# init(page:at:)

Initializes the destination.

## Declaration

```swift
init(page: PDFPage, at point: CGPoint)
```

```swift
init(page: PDFPage, at point: NSPoint)
```

## Parameters

- `page`: The page of the destination.
- `point`: The point of the destination, in page space.

## Return Value

Return Value An initialized PDFDestination instance, or NULL if the object could not be initialized.

## Discussion

Discussion Specify point in page space. Typically, there’s no need to initialize destinations. Instead, you get them from PDFAnnotationLink, PDFOutline, or PDFView objects. Page space is a 72-dpi coordinate system with the origin at the lower-left corner of the current page.
