PageSize

data class PageSize(val width: Dp, val height: Dp)

Page dimensions. Common ISO sizes are exposed as constants; use custom for arbitrary sizes.

Constructors

Link copied to clipboard
constructor(width: Dp, height: Dp)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val height: Dp
Link copied to clipboard

The same page rotated into landscape orientation (width ≥ height). Pages with mixed orientations can coexist in one document — each page(size) call carries its own size:

Link copied to clipboard

The same page rotated into portrait orientation (height ≥ width).

Link copied to clipboard
val width: Dp