Pdf Static Thumbnail Bar
open class PdfStaticThumbnailBar : DocumentListenerViewGroup, PSPDFKitViews.PSPDFView, PdfThumbnailBarController
Bar showing thumbnails of pages for quick selection.
Types
Link copied to clipboard
enum LayoutStyle
A PdfStaticThumbnailBar has two possible layout styles, depending on how it's planned to be used.
Properties
Link copied to clipboard
Currently used layout style.
Link copied to clipboard
Enlarged currently selected image (left one in double page mode).
Link copied to clipboard
Final thumbnail height after calculations (in pixels).
Link copied to clipboard
Final thumbnail width after calculations (in pixels).
Functions
Link copied to clipboard
Register a
listener
that would like to receive visibility change events.Link copied to clipboard
Called by the activity when the view should unbind the previously set document.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the current type of this view.
Link copied to clipboard
Returns the border color for the selected thumbnail in the thumbnail bar.
Link copied to clipboard
Returns the border color for the thumbnails in the thumbnail bar.
Link copied to clipboard
Link copied to clipboard
No-op for PdfStaticThumbnailBar.
Link copied to clipboard
Link copied to clipboard
Called when the activity needs to know the visibility of this view.
Link copied to clipboard
Returns redaction annotation preview mode,
false
by default.Link copied to clipboard
Returns whether the page aspect ratio is used to determine the thumbnail width.
Link copied to clipboard
Link copied to clipboard
Called when user scrolled to a new page.
Link copied to clipboard
Called when content of page with pageIndex has changed (for example due to annotation or form field being updated).
Link copied to clipboard
Link copied to clipboard
Unregister a previously registered
listener
that no longer wants to receive visibility change events.Link copied to clipboard
Link copied to clipboard
Called when the
document
has been loaded and is going to be displayed.Link copied to clipboard
Sets PdfDrawableProviders to provide custom PdfDrawable to be displayed in a thumbnail bar page items.
Link copied to clipboard
open fun setOnPageChangedListener(@Nullable onPageChangedListener: PdfThumbnailBar.OnPageChangedListener)
Sets a listener to be notified of page changing events.
Link copied to clipboard
Sets redaction annotations preview as redacted.
Link copied to clipboard
Sets the border color for the selected thumbnail in the thumbnail bar.
Link copied to clipboard
Sets the border color for the thumbnails in the thumbnail bar.
Link copied to clipboard
Configures the thumbnail bar to use the page aspect ratio to calculate the thumbnail width.
Link copied to clipboard
No-op for PdfStaticThumbnailBar.