UISetThumbSize Method

Example-VB

Displays a dialog box from which a user can set the width and height of the thumbnail box.

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.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 is not 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.