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