ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace Client API~ImageGear.Web.UI_namespace > ImageGear.Web.UI Namespace Client API~ImageGear.Web.UI.ImGearThumbnailList : thumbnailCaptionFormat Property |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function get_thumbnailCaptionFormat() : Boolean function set_thumbnailCaptionFormat(value : Boolean) |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfImGearThumbnailList.get_thumbnailCaptionFormat(); |
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.
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"
ImageGear.Web.UI Namespace Client API~ImageGear.Web.UI.ImGearThumbnailList
ImGearThumbnailList Members