maxZoomScale

fun maxZoomScale(@FloatRange(from = 1.0, to = 20.0) scale: Float): PdfActivityConfiguration.Builder

Sets the maximum zoom scale at which the document should be displayed. Make sure this value is higher than defaultZoomScale. Defaults to com.pspdfkit.ui.PdfFragment.MAX_ZOOM.

Allowed interval: 1.0, 20.0

Parameters

scale

Scale for the maximum allowed zoom.