# PdfStylingOptions

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

*** ** * ** ***


```
class PdfStylingOptions
```

<br />

*** ** * ** ***

Represents styling configurations for views integrated by `https://developer.android.com/reference/kotlin/androidx/pdf/viewer/fragment/PdfViewerFragment`.

**Note:** Custom drawables within the style resource must define their width and height for
proper rendering.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/pdf/viewer/fragment/PdfStylingOptions#PdfStylingOptions(kotlin.Int)(containerStyleResId: @https://developer.android.com/reference/kotlin/androidx/annotation/StyleRes https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |

| ### Public properties |
|---|---|
| `@https://developer.android.com/reference/kotlin/androidx/annotation/StyleRes https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/pdf/viewer/fragment/PdfStylingOptions#containerStyleResId()` The style identifier to apply to the PDF view. |

## Public constructors

### PdfStylingOptions

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

```
PdfStylingOptions(containerStyleResId: @StyleRes Int)
```

## Public properties

### containerStyleResId

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

```
val containerStyleResId: @StyleRes Int
```

The style identifier to apply to the PDF view.