# PdfPageGotoLinkContent.Destination

Artifact: [androidx.pdf:pdf-core](https://developer.android.com/jetpack/androidx/releases/pdf) [View Source](https://cs.android.com/search?q=file:androidx/pdf/content/PdfPageGotoLinkContent.kt+class:androidx.pdf.content.PdfPageGotoLinkContent.Destination) Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

*** ** * ** ***


```
class PdfPageGotoLinkContent.Destination
```

<br />

*** ** * ** ***

Creates a new instance of PdfPageGotoLinkContent.Destination using the page number, x coordinate, and y coordinate of the destination where goto link is directing, and the zoom factor of the page when goto link takes to the destination

Note: Here (0,0) represents top-left corner of the page.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/pdf/content/PdfPageGotoLinkContent.Destination#Destination(kotlin.Int,kotlin.Float,kotlin.Float,kotlin.Float)( pageNumber: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, xCoordinate: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, yCoordinate: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, zoom: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html )` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/pdf/content/PdfPageGotoLinkContent.Destination#pageNumber()` : Page number of the goto link Destination |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/pdf/content/PdfPageGotoLinkContent.Destination#xCoordinate()` : X coordinate of the goto link Destination in points (1/ 72") |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/pdf/content/PdfPageGotoLinkContent.Destination#yCoordinate()` : Y coordinate of the goto link Destination in points (1/ 72") |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/pdf/content/PdfPageGotoLinkContent.Destination#zoom()` : Zoom factor of the page when goto link takes to the destination |

## Public constructors

### Destination

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
Destination(
    pageNumber: Int,
    xCoordinate: Float,
    yCoordinate: Float,
    zoom: Float
)
```

| Parameters |
|---|---|
| `pageNumber: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | : Page number of the goto link Destination |
| `xCoordinate: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | : X coordinate of the goto link Destination in points (1/ 72") |
| `yCoordinate: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | : Y coordinate of the goto link Destination in points (1/ 72") |
| `zoom: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | : Zoom factor of the page when goto link takes to the destination |

## Public properties

### pageNumber

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
val pageNumber: Int
```

: Page number of the goto link Destination

### xCoordinate

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
val xCoordinate: Float
```

: X coordinate of the goto link Destination in points (1/ 72")

### yCoordinate

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
val yCoordinate: Float
```

: Y coordinate of the goto link Destination in points (1/ 72")

### zoom

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
val zoom: Float
```

: Zoom factor of the page when goto link takes to the destination