# PdfPageGotoLinkContent

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) Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

*** ** * ** ***


```
class PdfPageGotoLinkContent : PdfPageContent
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.pdf.content.PdfPageContent](https://developer.android.com/reference/kotlin/androidx/pdf/content/PdfPageContent) ||
|   | ↳ | [androidx.pdf.content.PdfPageGotoLinkContent](https://developer.android.com/reference/kotlin/androidx/pdf/content/PdfPageGotoLinkContent) |

*** ** * ** ***

Represents the content associated with a goto link on a page in the PDF document. Goto Link is an internal navigation link which directs the user to a different location within the same pdf document

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/pdf/content/PdfPageGotoLinkContent.Destination` 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 |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/pdf/content/PdfPageGotoLinkContent#PdfPageGotoLinkContent(kotlin.collections.List,androidx.pdf.content.PdfPageGotoLinkContent.Destination)( bounds: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/android/graphics/RectF.html>, destination: https://developer.android.com/reference/kotlin/androidx/pdf/content/PdfPageGotoLinkContent.Destination )` |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/pdf/content/PdfPageGotoLinkContent.Destination` | `https://developer.android.com/reference/kotlin/androidx/pdf/content/PdfPageGotoLinkContent#destination()` : `https://developer.android.com/reference/kotlin/androidx/pdf/content/PdfPageGotoLinkContent.Destination` where the goto link is directing. |

### Inherited properties

From [androidx.pdf.content.PdfPageContent](https://developer.android.com/reference/kotlin/androidx/pdf/content/PdfPageContent) `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/android/graphics/RectF.html>` `https://developer.android.com/reference/kotlin/androidx/pdf/content/PdfPageContent#bounds()`

: A list of rectangles defining the content's bounding boxes in PDF coordinates.

## Public constructors

### PdfPageGotoLinkContent

```
PdfPageGotoLinkContent(
    bounds: List<RectF>,
    destination: PdfPageGotoLinkContent.Destination
)
```

| Parameters |
|---|---|
| `bounds: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/android/graphics/RectF.html>` | : A list of rectangles defining the clickable area of the link. |
| `destination: https://developer.android.com/reference/kotlin/androidx/pdf/content/PdfPageGotoLinkContent.Destination` | : `https://developer.android.com/reference/kotlin/androidx/pdf/content/PdfPageGotoLinkContent.Destination` where the goto link is directing. |

## Public properties

### destination

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

```
val destination: PdfPageGotoLinkContent.Destination
```

: `https://developer.android.com/reference/kotlin/androidx/pdf/content/PdfPageGotoLinkContent.Destination` where the goto link is directing.