PdfViewerConfiguration
Class to hold rendering options for a PDF previewer.
Parameters
Whether debug mode is enabled for logging.
The quality of thumbnails (between 0 and 1), with a default of 0.7.
The size of rendered parts in pixels, with a default of 512.
The number of pages to preload above and below the currently displayed page, in dp.
The size of the main bitmap cache, which is the number of bitmaps to be kept in memory.
The maximum number of pages kept in view.
The size of the thumbnail bitmap cache.
The minimum zoom level allowed when pinching.
The maximum zoom level allowed when pinching.
Properties
Enable debug mode to see logs.
The size of the cache (number of bitmaps kept).
Max pages kept in View Increasing this value may cause performance decrease
The size of the thumbnails cache (number of bitmaps kept).
Part of the document above and below the screen that should be preloaded, in dp.
The size of the rendered parts (default 512 for better quality). Tinier : a little bit slower to have the whole page rendered but more reactive. Bigger : user will have to wait longer to have the first visual results
Between 0 and 1, the thumbnails quality (default 0.7). Increasing this value may cause performance decrease.