---
title: "UIGraphicsAddPDFContextDestinationAtPoint(_:_:)"
framework: uikit
role: symbol
role_heading: Function
path: "uikit/uigraphicsaddpdfcontextdestinationatpoint(_:_:)"
---

# UIGraphicsAddPDFContextDestinationAtPoint(_:_:)

Creates a jump destination in the current page.

## Declaration

```swift
func UIGraphicsAddPDFContextDestinationAtPoint(_ name: String, _ point: CGPoint)
```

## Parameters

- `name`: The name of the destination point. The name you assign is local to the PDF document and is what you use when creating links to this destination.
- `point`: A point on the current page of the PDF context.

## Discussion

Discussion This function marks the specified point in the current page as the destination of a jump. When the user taps a link that takes them to this jump destination, the PDF document scrolls until the specified point is visible. If the current graphics context is not a PDF context, this function does nothing. For information on how to create links to this destination, see the UIGraphicsSetPDFContextDestinationForRect(_:_:) function.

## See Also

### PDF creation

- [UIGraphicsBeginPDFContextToData(_:_:_:)](uikit/uigraphicsbeginpdfcontexttodata(_:_:_:).md)
- [UIGraphicsBeginPDFContextToFile(_:_:_:)](uikit/uigraphicsbeginpdfcontexttofile(_:_:_:).md)
- [UIGraphicsEndPDFContext()](uikit/uigraphicsendpdfcontext().md)
- [UIGraphicsBeginPDFPage()](uikit/uigraphicsbeginpdfpage().md)
- [UIGraphicsBeginPDFPageWithInfo(_:_:)](uikit/uigraphicsbeginpdfpagewithinfo(_:_:).md)
- [UIGraphicsGetPDFContextBounds()](uikit/uigraphicsgetpdfcontextbounds().md)
- [UIGraphicsSetPDFContextDestinationForRect(_:_:)](uikit/uigraphicssetpdfcontextdestinationforrect(_:_:).md)
- [UIGraphicsSetPDFContextURLForRect(_:_:)](uikit/uigraphicssetpdfcontexturlforrect(_:_:).md)
