# $ K Wang Image Thumbnail Control
Properties   Methods   Events
The Image Thumbnail control displays thumbnail views of the images contained in an image file in uniformly sized and spaced frames called thumbnail boxes. Thumbnails are useful for displaying each page of a multipage image file in a miniature format. When you specify an image file, thumbnail representations of images are generated and buffered for use. You can use the buffered thumbnails or choose to regenerate thumbnails to reflect subsequent changes made to the image file, such as inserted or deleted pages, or alterations made to pages (annotations).
The Thumbnail control can be configured to scroll either vertically or horizontally. When scrolled vertically, thumbnails are displayed sequentially from the top left, across the rows and down to the bottom right. When scrolled horizontally, thumbnails are displayed sequentially from the top left, down the columns and across to the bottom right. The scroll bar is displayed only when there are more thumbnails available than can fit in the control’s window. A scrollbar is never displayed in the non-scrolling direction.
You can change the size of the thumbnail boxes collectively, making them smaller, to fit more into the control’s window, or making them larger to see more detail. The views displayed in the thumbnail boxes maintain the same aspect ratio (height to width relationship) as the image pages they represent. 
Although the Thumbnail control can only display views of the image, it can be used in conjunction with the Admin control to add or delete pages in the image file.
You can also choose to display text labels beneath the thumbnails, and assign different fonts, colors, and styles to the labels.
See Also
Imaging Concepts

# $ K Properties (Thumbnail control)
BackColor	SelectedThumbCount	
BorderStyle	StatusCode	
Enabled	ThumbBackColor	
FirstSelectedThumb	ThumbCaption	
HighlightColor	ThumbCaptionColor	
HighlightSelectedThumbs	ThumbCaptionFont	
hWnd	ThumbCaptionStyle	
Image	ThumbCount	
LastSelectedThumb	ThumbHeight	
MouseIcon	ThumbSelected[PageNumber]	
MousePointer	ThumbWidth	
ScrollDirection		

# $ K BackColor Property
Returns or sets the background color of the entire control. 
Applies To
Image Thumbnail control
Syntax
object.BackColor[=color]
Data Type
Long
Remarks
Use the RGB format. The default value is light gray -- RGB (192, 192, 192).
The color specified should be different from the color set by the HighlightColor property to ensure the highlight remains visible against the background.
Do not confuse this property with the ThumbBackColor property, which sets the color of the background of the thumbnail boxes.
See Also
HighlightColor property
ThumbBackColor property

# $ K BorderStyle Property
Returns or sets if the control is displayed with or without a border. 
Applies To
Image Thumbnail control
Syntax
object.BorderStyle[=value]
Data Type
Integer (enumerated)
Setting	Description	
0	No border is displayed.	
1 (default)	A single line, fixed size border is displayed.	
Remarks
This property can only be set at design time.

# $ K FirstSelectedThumb Property
Returns the page number of the first selected thumbnail. 
Applies To
Image Thumbnail control
Syntax
object.FirstSelectedThumb
Data Type
Long
Remarks
Available at run-time as read-only. 
The value will be in the range 0 (zero) to ThumbCount, inclusive.
A value of 0 (zero) indicates there are no thumbnails selected.

# $ K HighlightColor Property
Returns or sets the color of the highlight that is applied to selected thumbnail boxes. 
Applies To
Image Thumbnail control
Syntax
object.HighlightColor[=color]
Data Type
Long
Remarks
The highlight appears only if the HighlightSelectedThumbs property is set to True.
Use the RGB format. The default value is black -- RGB (0, 0, 0).
The color specified should be different from the color set by the BackColor property to ensure the highlight remains visible against the background. 
See Also
BackColor property
ThumbBackColor property
HighlightSelectedThumbs property

# $ K HighlightSelectedThumbs Property
Returns or sets whether a highlight will be displayed around selected thumbnails. 
Applies To
Image Thumbnail control
Syntax
object.HighlightSelectedThumbs[={True|False}]
Data Type
Boolean
Setting	Description	
True (default) 	Selected thumbnails highlight is displayed.	
False	Selected thumbnails highlight is not displayed.	

# $ K Image Property
Returns or sets which image file’s thumbnails are displayed. 
Applies To
Image Thumbnail control
Syntax
object.Image[=filename]
Data Type
String
Remarks
An empty string is a valid value that resets the control so that no thumbnails are displayed.
Specifying a new image or respecifying the current image forces the following changes:
The thumbnails of the image are displayed with the thumbnail of the first page located in the upper-left corner of the control.
SelectedThumbCount property value is reset to (0).
FirstSelectedThumb property value is reset to (0).
LastSelectedThumb property value is reset to (0). 
ThumbCount property value is reset to the number of pages in the specified file.
Each element in the ThumbSelected[PageNumber] array is reset to False.
See Also
Images
SelectedThumbCount property
ThumbCount property 
FirstSelectedThumb property
LastSelectedThumb property
ThumbSelected[PageNumber] property

# $ K LastSelectedThumb Property
Returns the page number of the last selected thumbnail.
Applies To
Image Thumbnail control
Syntax
object.LastSelectedThumb
Data Type
Long
Remarks
Available at run-time as read-only. 
The value will be in the range 0 (zero) to ThumbCount, inclusive.
A value of 0 indicates there are no thumbnails selected.

# $ K MouseIcon Property
Returns or sets the cursor displayed when a custom MousePointer is used.
Applies To
Image Thumbnail control
Syntax
object.MouseIcon[=Picture]
Data Type
Picture
Remarks
Only ICO and CUR file types are supported.
See Also
MousePointer property

# $ K MousePointer Property
Returns or sets the type of mouse cursor displayed when the cursor is positioned over the control.
Applies To
Image Thumbnail control
Syntax
object.MousePointer[=integer]
Data Type
Integer (enumerated)
Setting 	Description	
0  (default)	Default (For this control, the default is ‘Arrow’)	
1	Arrow	
2	Cross	
3	I-Beam	
4	Arrow	
5	Size	
6	Size NESW	
7	Size NS	
8	Size NW SE	
9	Size W E	
10	Up Arrow	
11	Hourglass	
12	No Drop	
13	Arrow and Hourglass	
14	Arrow and Question mark	
15	Size All	
99	Custom pointer specified by this property	
See Also
MouseIcon property

# $ K SelectedThumbCount Property
Returns the number of thumbnails currently selected.
Applies To
Image Thumbnail control
Syntax
object.SelectedThumbCount
Data Type
Long
Remarks
Available at run-time as read-only.
The value will be in the range 0 (zero) to ThumbCount, inclusive.
A value of 0 (zero) means that no thumbnails are currently selected. This is the default value set each time a new image is specified by the Image property.
See Also
Image property

# $ K ThumbBackColor Property
Returns or sets the background color of the thumbnail boxes.
Applies To
Image Thumbnail control
Syntax
object.ThumbBackColor[=color]
Data Type
Long
Remarks
Use the RGB format. The default value is dark gray -- RGB (128, 128, 128).
Do not confuse this property with the BackColor property, which sets the color for the control’s entire background.
See Also
BackColor property
HighlightColor property

# $ K ThumbCaption Property
Returns or sets the optional custom caption used with the ThumbCaptionStyle property.
Applies To
Image Thumbnail control
Syntax
object.ThumbCaption[=caption]
Data Type
String
Remarks
Lets you customize the caption beneath each thumbnail.
Used when the ThumbCaptionStyle property specifies that captions are to be displayed.
You can use the ThumbCaptionFont property and ThumbCaptionColor property to alter the appearance of captions.
You can use the reserved characters # (number sign) to represent the thumbnail’s page number, and * (asterisk) to represent the total number of thumbnails. For example, the captions ‘Page 1 of 20’, ‘Page 2 of 20’, and so on, can be displayed by specifying the string ‘Page # of *’. 
See Also
ThumbCaptionStyle property
ThumbCaptionFont property
ThumbCaptionColor property

# $ K ThumbCaptionColor Property
Returns or sets the color of caption labels displayed beneath thumbnails.
Applies To
Image Thumbnail control
Syntax
object.ThumbCaptionColor[=color]
Data Type
Long
Remarks
Use the RGB format. The default value is black -- RGB (0, 0, 0).
You can use the ThumbCaptionFont property and ThumbCaptionStyle property to alter the appearance of captions.
See Also
ThumbCaptionFont property
ThumbCaptionStyle property

# $ K ThumbCaptionFont Property
Returns or sets the font used to display captions.
Applies To
Image Thumbnail control
Syntax
object.ThumbCaptionFont[=font]
Data Type
OLEFONT
Remarks
The default font is MS Sans Serif, regular weight, 12 point; no italic, underline, or strikethrough.
See Also
ThumbCaptionColor property
ThumbCaptionStyle property

# $ K ThumbCaptionStyle Property
Returns or sets the type of caption that appears beneath each thumbnail.  You can also choose not to display captions.
Applies To
Image Thumbnail control
Syntax
object.ThumbCaptionStyle[=integer]
Data Type
Integer (enumerated)
Setting	Description	
0	No captions beneath the thumbnails.	
1  (default)	Page number, left justified, beneath each thumbnail. 	
2	Same as Setting 1, but also includes a graphic before the caption for those thumbnail pages whose image file pages have annotations present.	
3	The string set by the property ThumbCaption is displayed, left justified, beneath the thumbnail. 	
4	Same as Setting 3, but also includes a graphic before the caption for those thumbnail pages whose image file pages have annotations present.	
Remarks
You can use the ThumbCaptionColor and ThumbCaptionFont properties to alter the appearance of captions.
Note that any captions displayed are clipped to the width of the thumbnail box.
See Also
ThumbCaption property
ThumbCaptionColor property
ThumbCaptionFont property

# $ K ThumbCount Property
Returns the total number of pages present in the current image file.
Applies To
Image Thumbnail control
Syntax
object.ThumbCount
Data Type
Long
Remarks
Available at run-time as read-only.
ThumbCount is recalculated each time a valid image is specified, or when either of the methods InsertThumbs or DeleteThumbs is executed.
See Also
Image property
InsertThumbs method
DeleteThumbs method

# $ K ThumbHeight Property
Returns or sets the height of thumbnail boxes.
Applies To
Image Thumbnail control
Syntax
object.ThumbHeight[=value]
Data Type
Long
Remarks
Used with the ThumbWidth property to specify the size of the displayed thumbnail boxes.
Specify a height between 50 and 500 (pixels). 
The default value of 110, used with the ThumbWidth property default value of 85, produces a close representation of a standard letter-sized sheet.
If the thumbnail box size is altered, new thumbnail representations must be generated for all pages of the specified image file. This is equivalent to calling the ClearThumbs method or respecifying the Image property.
See Also
ThumbWidth property
UISetThumbSize property

# $ K ThumbSelected[PageNumber] Property
Returns or sets the selection status of the specified thumbnail.
Applies To
Image Thumbnail control
Syntax
object.ThumbSelected[PageNumber][={True|False}]
Data Type
ThumbSelected	Boolean	
PageNumber	Long	

ThumbSelected
Setting	Description	
True	The thumbnail is selected.	
False  (default for each item in the array)	The thumbnail is not selected.	
Remarks
Valid PageNumber values must be between 1 and the current value of the ThumbCount property (inclusive).
If the HighlightSelectedThumbs property is set to True, selected thumbnails will display a border of the color set in the HighlightColor property.
See Also
HighlightSelectedThumbs
FirstSelectedThumb property
LastSelectedThumb property
SelectedThumbCount property
HighlightColor property
SelectAllThumbs method
DeselectAllThumbs method

# $ K ScrollDirection Property
Returns or sets the scrolling direction. 
Applies To
Image Thumbnail control
Syntax
object.ScrollDirection[= {0|1}]
Data Type
Integer (enumerated)
Setting	Description	
0	Displays a horizontal scrollbar.	
1 (default)	Displays a vertical scrollbar.	
Remarks
The scrollbar will be displayed in the direction selected, when required, to accommodate more thumbnails.
Note that either horizontal or vertical scroll may be specified, but not both.

# $ K ThumbWidth Property
Returns or sets the width of the thumbnail boxes.
Applies To
Image Thumbnail control
Syntax
object.ThumbWidth[=value]
Data Type
Long
Remarks
Used with the ThumbHeight property to specify the size of the displayed thumbnail boxes.
Specify a width between 50 and 500 (pixels).  
The default value of 85, used with the ThumbHeight default value of 110, produces a close representation of a standard letter sized sheet.
If the thumbnail box size is altered, new thumbnail representations must be generated for all pages of the specified image file. This is equivalent to calling the ClearThumbs method or respecifying the Image property
See Also
ThumbHeight property
UISetThumbSize method

# $ K Methods (Thumbnail control)

AboutBox	GetMinimumSize	
ClearThumbs	GetScrollDirectionSize	
DeleteThumbs	InsertThumbs	
DeselectAllThumbs	Refresh	
DisplayThumbs	ScrollThumbs	
GenerateThumb	SelectAllThumbs	
GetMaximumSize	UISetThumbSize	

# $ K ClearThumbs Method
Clears the buffered thumbnail representations of one or all pages.
Applies To
Image Thumbnail control
Syntax
object.ClearThumbs pagenumber
Arguments
Parameter	Data Type	Description	
PageNumber	Long	Optional. If a value is not specified, a default value of 0 (zero) is assumed. The value 0 clears all pages. 
The one (1) relative page number that corresponds to the page whose thumbnail will be cleared.	
Remarks
Thumbnails that have been cleared will be regenerated either when needed for display, or by calling the GenerateThumb method.

# $ K DeleteThumbs Method
Notifies the Thumbnail control that pages have been deleted from the image whose thumbnails are currently displayed.
Applies To
Image Thumbnail control
Syntax
object.DeleteThumbs DeleteAt, DeleteCount
Arguments
Parameter	Data Type	Description	
DeleteAt	Long	The one (1) 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.
See Also
DeletePages method, Wang Image Admin control

# $ K DeselectAllThumbs Method
Deselects all thumbnails.
Applies To
Image Thumbnail control
Syntax
object.DeselectAllThumbs
Remarks
This method is equivalent to setting each item in the ThumbSelected[ ] array to False.
See Also
ThumbSelected[PageNumber] property

 # $ K DisplayThumbs Method
Displays thumbnails using specified options.
Applies To
Image Thumbnail control
Syntax
object.DisplayThumbs ThumbNumber, Option
Arguments
Parameter	Data Type	Description	
ThumbNumber	Long	Optional. The number of the Thumbnail whose position will be set. If a value is not specified, a default value of 1 is used, and the Option parameter cannot be specified.	
Option	Integer	Optional. Sets the position of the specified Thumbnail within the control. If no value is specified, a default value of 0 (zero) is used. Allowable values are:	
Setting	Description	
0	Thumbnail box is displayed in the top row (for vertical scrolling).	
0	Thumbnail box is displayed in leftmost column (for horizontal scrolling).	
1	Thumbnail box is displayed in the middle row.	
2	Thumbnail box is displayed in the bottom row (for vertical scrolling).	
2	Thumbnail box is displayed in the rightmost column (for horizontal scrolling).	

Remarks
This method refreshes the control’s display.
Note that it is not necessary to call this method after setting the Image property to initiate a display of the specified image file’s thumbnails.

# $ K GenerateThumb Method
Forces the generation or regeneration of the specified image’s thumbnail representation.
Applies To
Image Thumbnail control
Syntax
object.GenerateThumb Option, PageNumber
Arguments
Parameter	Data Type	Description	
Option	Integer	Indicates when the Thumbnail of a specified page should be generated.  Allowable values are:	
Setting	Description	
0	Generates a thumbnail if one has not already been obtained.
Not specifying a PageNumber, or specifying a PageNumber of 0 causes all pages that have not been obtained to be generated.	
1	Causes the thumbnail to be generated immediately. If the thumbnail was previously generated, a new one will be obtained. 
Not specifying a PageNumber, or specifying a PageNumber of 0 causes all pages that have not been obtained to be generated. 	

PageNumber	Long 	Optional. The number of the page for which a Thumbnail will be generated.  If a value is not specified, a default value of 0, to indicate that ALL pages are to be generated, is used.	
Remarks
This method should be called to reflect any changes made to the image file after a previous thumbnail was generated.
It is not always necessary to obtain new thumbnails (Option=1). Thumbnail images that have been generated during the current session remain buffered, even though they may not be displayed.
Use caution when using a PageNumber of 0. Resulting operations can be lengthy.

# $ K GetMaximumSize Method
Determines the largest non-scrolling control dimension that can be used to display a specified number of thumbnail boxes.
Applies To
Image Thumbnail control
Syntax
object.GetMaximumSize(ThumbCount, ScrollBar)
Arguments
Parameter	Data Type	Description	
ThumbCount	Long	The number of thumbnail boxes desired in the non-scrolling direction.	
ScrollBar	Boolean	Indicates whether or not the size value returned allows space for a scroll bar.
True -- Allows space for a scroll bar.
False -- Does not allow space for a scroll bar.	
Return Value
Long
The maximum control size, in pixels, needed to accommodate the number of thumbnail boxes specified by the ThumbCount parameter.
Remarks
GetMaximumSize uses the current values of the ScrollDirection, ThumbHeight, and ThumbWidth properties to calculate this value.
GetMaximumSize and GetMinimumSize should be used together to determine a range of control sizes that allow for a display that fits the required number of thumbnails in the non-scrolling dimension.
A control size larger than this dimension in the non-scrolling direction will contain space for more than the specified number of thumbnails. 
Once a control size is determined (based on the results of GetMaximumSize and GetMinimumSize), a call to the GetScrollDirectionSize method may be used to calculate the size required in the scrolling direction to display a specified number of thumbnails.
See Also
GetMinimumSize method
GetScrollDirectionSize method
ScrollDirection property
ThumbHeight property
ThumbWidth property

# $ K GetMinimumSize Method
Determines the smallest non-scrolling control dimension that can be used to display a specified number of thumbnail boxes.
Applies To
Image Thumbnail control
Syntax
object.GetMinimumSize(ThumbCount, ScrollBar)
Arguments
Parameter	Data Type	Description	
ThumbCount	Long	The number of thumbnail boxes desired in the non-scrolling direction.	
ScrollBar	Boolean	Indicates whether or not the size value returned allows space for a scroll bar.
True -- Allows space for a scroll bar.
False -- Does not allow space for a scroll bar.	
Return Value
Long
The minimum control size needed to accommodate the number of thumbnail boxes specified by the ThumbCount parameter.
Remarks
GetMinimumSize uses the current values of the ScrollDirection, ThumbHeight, and ThumbWidth properties to calculate this value.
GetMaximumSize and GetMinimumSize should be used together to determine a range of control sizes that allow for a display that fits the required number of thumbnails in the non-scrolling dimension.
A control size smaller than this dimension in the non-scrolling direction will contain space for fewer than the specified number of thumbnails.
Once a control size is determined (based on results of GetMaximumSize and GetMinimumSize), a call to the GetScrollDirectionSize method may be used to calculate the size required in the scrolling direction to display a specified number of thumbnails.
See Also
GetMaximumSize method
GetScrollDirectionSize method
ScrollDirection property
ThumbHeight property
ThumbWidth property

# $ K GetScrollDirectionSize Method
Determines what the control size has to be, in the scrolling dimension, to display a specified number of thumbnails.
Applies To
Image Thumbnail control
Syntax
object.GetScrollDirectionSize(ScrollDirectionThumbCount, NonScrollDirectionThumbCount, NonScrollDirectionSize, ScrollBar)
Arguments
Parameter	Data Type	Description	
ScrollDirectionThumbCount	Long	The number of thumbnail boxes desired in the scrolling direction.	
NonScrollDirectionThumbCount	Long	The number of thumbnail boxes desired in the non-scrolling direction.	
NonScrollDirectionSize	Long	The size of the control’s area, in pixels, in the non-scrolling dimension for which a corresponding scroll direction size is desired.	
ScrollBar	Boolean	Indicates whether or not the size specified for NonScrollDirectionSize allows space for a scroll bar.

True -- Allows space for a scroll bar.
False -- Does not allow space for a scroll bar.	
Return Value
Long
Returns the control size, in pixels, needed to accommodate the number of thumbnail boxes specified by the parameter ScrollDirectionThumbCount in the scrolling direction.
Remarks
If NonScrollDirectionSize is determined by first calling the GetMaximumSize and GetMinimumSize methods, GetScrollDirectionSize can calculate the size and scrolling direction required to display a specified number of thumbnails.
The value of the argument NonScrollDirectionThumbCount must be the same value passed as the argument ThumbCount to the GetMaximumSize and GetMinimumSize methods.
The value of the argument ScrollBar must be the same in the GetMaximumSize, GetMinimumSize, and GetScrollDirectionSize methods.
See Also
GetMinimumSize method
GetMaximumSize method
ThumbWidth property
ThumbHeight property
ScrollDirection property

# $ K InsertThumbs Method
Informs the Thumbnail control that pages have been inserted into the currently displayed image file.
Applies To
Image Thumbnail control
Syntax
object.InsertThumbs InsertBeforeThumb, InsertCount
Arguments
Parameter	Data Type	Description	
InsertBeforeThumb	Long	Optional. The page number of the thumbnail before which the new thumbnails will be inserted.
A value of 1 means the thumbnails will be inserted before the first page.
A value of ThumbCount+1 means the thumbnails will be inserted after the last page.
If InsertBeforeThumb is not specified, the default value of ThumbCount+1 is used, and the InsertCount parameter cannot be set.	
InsertCount	Long	Optional. The number of pages inserted.
If a value is not specified, the default value of 1 is used.	
Remarks
The pages must be inserted into the image file itself prior to calling this method. This can be done by first calling the Admin control’s Insert method.
InsertThumbs preserves the integrity of the control’s internal mapping of displayed thumbnails and the pages of the specified image file. If pages are inserted into the displayed image file and this method is not called, the thumbnails displayed will not reflect the change.
This method refreshes the control’s display.
See Also
ThumbCount property
InsertThumbs method
Insert method, Wang Image Admin control

# $ K Refresh Method
Repaints the control.
Applies To
Image Thumbnail control
Syntax
object.Refresh
Arguments
None
Remarks
If the control has an active window, the refresh occurs synchronously. Otherwise, the control is refreshed asynchronously.
This method refreshes the control’s display.

# $ K ScrollThumbs Method
Specifies a direction and amount for scrolling.
Applies To
Image Thumbnail control
Syntax
object.ScrollThumbs(Direction, Amount)
Arguments
Parameter	Data Type	Description	
Direction	Integer	Specifies the direction of scroll.
A value of 0 (zero) scrolls the control towards the last thumbnail.
A value of 1 scrolls the control towards the first thumbnail.	
Amount	Integer	Specifies the amount of scroll desired.
A value of 0 (zero) scrolls in the requested direction by almost a full control screenful. A small amount of original screen area is left to serve as a reference.
The amount scrolled is equivalent to the amount scrolled when you click in the scroll bar (between the up / down arrows and the scroll box).
A value of 1 scrolls the control in the requested direction by a small amount.
The amount scrolled is equivalent to the amount scrolled when you click the scroll bar’s up or down arrow box once.	
Return Value
Boolean
The return value indicates if the control was scrolled.
Setting	Description	
True	The scroll was performed.	
False	The scroll was not performed (for example, if the scroll was at either end of its scrolling limit and could not scroll any further).	
See Also
ScrollDirection property

# $ K SelectAllThumbs Method
Selects all thumbnails.
Applies To
Image Thumbnail control
Syntax
object.SelectAllThumbs
Remarks
This method is equivalent to setting each item in the ThumbSelected[ ] array to True.
See Also
ThumbSelected[ ] property

# $ K UISetThumbSize Method
Displays a dialog box from which a user can set the width and height of the thumbnail box.
Applies To
Image Thumbnail control
Syntax
object.UISetThumbSize(Image, PageNumber)
Arguments
Parameter	Data Type	Description	
Image	String	Optional. Used with the PageNumber parameter to specify the name and page of the image file to be displayed in the sample thumbnail.
If not specified, the default value of an empty string will be used, and an image will not be displayed.	
PageNumber	Long	Optional. Used with the Image parameter to specify the name and page of the image file to be displayed in the sample thumbnail. 
If a value is not specified, a default value of 1 is used.	
Return Value
Boolean
Setting	Description	
True	The dialog box was dismissed with the OK button, generally indicating new values have been set for the ThumbHeight and ThumbWidth properties.	
False	The dialog box was dismissed with the CANCEL button, indicating the values for the ThumbHeight and ThumbWidth properties are unchanged.	
Remarks
If the thumbnail box size is altered, new thumbnail representations must be generated for all pages of the specified image file. This is equivalent to calling the ClearThumbs method or respecifying the Image property.
See Also
ClearThumbs method

# $ K Events (Thumbnail control)
The Events used by the Thumbnail control are all standard.
*Click	*MouseDown	
*DblClick	*MouseMove	
 KeyDown	*MouseUp	
 KeyUp		
Events with an asterisk (*) use the additional argument ThumbNumber. 
Argument
Parameter	Data Type	Description	
ThumbNumber	Long	The number of the thumbnail on which the event occurred.  This parameter is 1 relative (that is, a value of 1 means the event occurred on the thumbnail for page 1).
A 0 (zero) value means an event occurred on the control, but not on a thumbnail.