DeleteThumbs Method

Example-VB

Notifies the Thumbnail control that pages have been deleted from the image whose thumbnails are currently displayed.

Available With

Ö Imaging for Windows Professional Edition V1.0, V1.1, and V2.0
Ö Imaging for Windows 95 and 98
Ö Imaging for Windows NT 4.0

Applies To

Image Thumbnail control

Syntax

object.DeleteThumbs DeleteAt,DeleteCount

Arguments

Parameter Data Type Description

DeleteAt Long The one-relative page number of the first page deleted. Valid values are in the range 1 to ThumbCount.
DeleteCount Long Optional. The number of pages to be deleted. If a value is not specified, a default value of 1 is used.

Remarks

The pages must be removed from the image file itself prior to calling this method. This can be done by first calling the Admin control’s DeletePages method.

DeleteThumbs preserves the integrity of the control’s internal mapping of displayed thumbnails and the pages of the specified image file.  If pages are deleted from the displayed image, and this method is not called, the thumbnails displayed will not reflect the change.

This method refreshes the control’s display.