Class

PDFThumbnailView

A PDFThumbnailView object contains a set of thumbnails, each of which represents a page in a PDF document.

Declaration

iOS, Mac Catalyst
@interface PDFThumbnailView : UIView
macOS
@interface PDFThumbnailView : NSView

Topics

Accessing the Associated PDF View

PDFView

Returns the PDFView object associated with the thumbnail view.

Managing the Size of a Thumbnail View

thumbnailSize

Returns the maximum width and height of the thumbnails in the thumbnail view.

Working with Thumbnail View Display Characteristics

maximumNumberOfColumns

Returns the maximum number of columns of thumbnails the thumbnail view can display.

labelFont

Returns the font used to label the thumbnails.

backgroundColor

Returns the color used in the background of the thumbnail view.

Managing the Behavior of a Thumbnail View

allowsDragging

Returns a Boolean value indicating whether users can drag thumbnails (that is, re-order pages in the document) within the thumbnail view.

allowsMultipleSelection

Returns a Boolean value indicating whether users can select multiple thumbnails in the thumbnail view at one time.

selectedPages

Returns an array of PDF pages that correspond to the selected thumbnails in the thumbnail view.

Instance Properties

Relationships

Inherits From

Conforms To

See Also

Views

PDFView

An object that encapsulates the functionality of PDF Kit into a single widget that you can add to your application using Interface Builder.