RenderingEventListener

Interface for listening to rendering events in a PDF previewer.

Functions

Link copied to clipboard
abstract fun onDrawPage(canvas: Canvas?, pageWidth: Float, pageHeight: Float, displayedPage: Int)

This method is called when the PDFView is drawing its view.

Link copied to clipboard
abstract fun onPageFailedToRender(pageRenderingException: PageRenderingException)

Called when a specific page in the PDF document has failed to render.

Link copied to clipboard
abstract fun onPageRendered(pageNumber: Int)

Called when a specific page in the PDF document has been rendered.