ImageGear23.Web Assembly > ImageGear.Web.UI Namespace > ImGearThumbnailList Class : ThumbnailCaptionFormat Property |
'Declaration <BrowsableAttribute(True)> <CategoryAttribute("ImGearThumbnailList Properties")> <DefaultValueAttribute()> <DescriptionAttribute("Gets or sets the thumbnail caption format.")> Public Property ThumbnailCaptionFormat As String
'Usage Dim instance As ImGearThumbnailList Dim value As String instance.ThumbnailCaptionFormat = value value = instance.ThumbnailCaptionFormat
[Browsable(true)] [Category("ImGearThumbnailList Properties")] [DefaultValue()] [Description("Gets or sets the thumbnail caption format.")] public string ThumbnailCaptionFormat {get; set;}
[Browsable(true)] [Category("ImGearThumbnailList Properties")] [DefaultValue()] [Description("Gets or sets the thumbnail caption format.")] public: __property string* get_ThumbnailCaptionFormat(); public: __property void set_ThumbnailCaptionFormat( string* value );
[Browsable(true)] [Category("ImGearThumbnailList Properties")] [DefaultValue()] [Description("Gets or sets the thumbnail caption format.")] public: property String^ ThumbnailCaptionFormat { String^ get(); void set ( String^ value); }
The default value is an empty string
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.
Note: Each thumbnail displays only one line of caption. If the caption is too long to fit, it will be truncated. If your caption text is too long to fit, you can choose to increase the width of the thumbnail. The only browser that wraps the longer caption is IE7. All newer browsers truncate the text.
where {PC} was set to “Claims Page ”
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"
where {PC} was set to “Claims Page ”
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"