DocuVieware Reference Guide
SetThumbnailSelected
Reference Guides > JavaScript API > Actions > Interface > SetThumbnailSelected
 SetThumbnailSelected

This function allows you to mark a particular thumbnail as selected or deselected.

SetThumbnailSelected: function (docuViewareID, pageNo, selected)

Parameters

docuViewareID
The identifier for the DocuVieware™ instance you want to select/deselect the thumbnail from.
pageNo
The page number of the thumbnail you want to select/deselect.
selected
A boolean flag, true will select the item, false will deselect it.

Return Value

1 if error, 0 if success.