Table of Contents

TTMSFNCWXCustomThumbnailList Class

Base class for a list control that displays page thumbnails for a connected document viewer. It builds one thumbnail per page, keeps the thumbnails in sync as the document loads, and navigates the viewer to the matching page when a thumbnail is selected.

API unit family: TMSFNCWXPDFThumbnailList Inherits from: TTMSFNCCustomList

Syntax

TTMSFNCWXCustomThumbnailList = class(TTMSFNCCustomList)

Remarks

Assign a viewer through the Viewer property to populate the list at run time. Without a connected viewer the list shows only a design-time placeholder.

Methods

Name Description
InitializeDefault Restores the initial state of the list. When a viewer is connected its page count is read, the list is rebuilt, and thumbnail generation is requested; otherwise the empty list is rebuilt.
Rebuild Recreates the thumbnail items to match the current page count and reapplies the row, column, and item-size layout.