PdfViewerConfiguration
constructor(isDebugEnabled: Boolean = false, thumbnailQuality: Float = 0.7f, renderTileSize: Float = 512.0f, preloadMarginDp: Float = 20.0f, maxCachedBitmaps: Int = 32, maxCachedPages: Int = 3, maxCachedThumbnails: Int = 4, minZoom: Float = 1.0f, maxZoom: Float = 5.0f)
Parameters
isDebugEnabled
Whether debug mode is enabled for logging.
thumbnailQuality
The quality of thumbnails (between 0 and 1), with a default of 0.7.
renderTileSize
The size of rendered parts in pixels, with a default of 512.
preloadMarginDp
The number of pages to preload above and below the currently displayed page, in dp.
maxCachedBitmaps
The size of the main bitmap cache, which is the number of bitmaps to be kept in memory.
maxCachedPages
The maximum number of pages kept in view.
maxCachedThumbnails
The size of the thumbnail bitmap cache.
minZoom
The minimum zoom level allowed when pinching.
maxZoom
The maximum zoom level allowed when pinching.