ThumbCaption Property

Example-VB

Returns or sets the optional custom caption used with the ThumbCaptionStyle property.

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.ThumbCaption[=caption]

Data Type

String

Remarks

Enables you to 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 *’. (The ThumbCaptionStyle property must be set to 3 or 4 in this case.)