recalculatePageSizes

fun recalculatePageSizes(viewSize: Size)

Recalculates the page sizes, offsets, and document length based on the current view size.

Parameters

viewSize

The size of the view where the PDF document is displayed.