ImageGear .NET v25.0 - Updated
thumbnailCaptionFormat Property

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > ImGearThumbnailList class : thumbnailCaptionFormat Property
Gets or sets the string format for thumbnail caption for all the thumbnails in the control.
Syntax
ASP.NET Ajax Javascript (Specification) 
function get_thumbnailCaptionFormat() : Boolean
function set_thumbnailCaptionFormat(value : Boolean)
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfImGearThumbnailList.get_thumbnailCaptionFormat();
Remarks

This property gets or sets the string format for thumbnail caption for all the thumbnails in the control. The custom formatting supports templated caption. The string will be parsed with the following characters to mean as in the following list. Note: The internal parser expects the characters to be encased within {}. To specify a single literal brace character in the format, specify two opening or closing braces. This follows .NET rules for escaping curly braces.

Example:

Property value = "Title-{DC}:{PC} {P#} of {PP}"

The resulting caption for thumbnails will be like:

"Title-MyImage.tif:Claims Page 1 of 150"

Property value = "{DC}:Page {P#}"

The resulting caption for thumbnails will be:

"MyImage.tif:Page 1"

See Also

Reference

ImGearThumbnailList class
ImGearThumbnailList Members