# LocaleData.PaperSize

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# PaperSize

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/icu/util/LocaleData.PaperSize "View this page in Java")  

```
class PaperSize
```

|---|--------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                 ||
| ↳ | [android.icu.util.LocaleData.PaperSize](https://developer.android.com/reference/kotlin/android/icu/util/LocaleData.PaperSize#) |

A class that represents the size of letter head used in the country

## Summary

|                                                                                                        Public methods                                                                                                         ||
|----------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------|
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [getHeight](https://developer.android.com/reference/kotlin/android/icu/util/LocaleData.PaperSize#getHeight())`()` Returns the height of the paper |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [getWidth](https://developer.android.com/reference/kotlin/android/icu/util/LocaleData.PaperSize#getWidth())`()` Returns the width of the paper    |

## Public methods

### getHeight

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
fun getHeight(): Int
```

Returns the height of the paper

|                                         Return                                         ||
|----------------------------------------------------------------------------|------------|
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | the height |

### getWidth

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
fun getWidth(): Int
```

Returns the width of the paper

|                                        Return                                         ||
|----------------------------------------------------------------------------|-----------|
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | the width |