fitMode

fun fitMode(mode: ERROR CLASS: Symbol not found for PageFitMode): PdfActivityConfiguration.Builder

Sets the page fit mode. Valid modes are PageFitMode.FIT_TO_SCREEN which will try to fit pages into the device's screen, or PageFitMode.FIT_TO_WIDTH which will fit the page so that it's width matches the device's screen width.

Parameters

mode

Page fit mode from PageFitMode.