VintaSoft Imaging .NET SDK 12.5: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI Namespace / ThumbnailImageItemCaption Class
Members Object Syntax Example Hierarchy Requirements SeeAlso
In This Topic
    ThumbnailImageItemCaption Class
    In This Topic
    Specifies the caption of a thumbnail.
    Object Model
    ThumbnailImageItemCaption
    Syntax
    'Declaration
    
    Public Class ThumbnailImageItemCaption
    
    
    public class ThumbnailImageItemCaption
    
    
    public __gc class ThumbnailImageItemCaption
    
    
    public ref class ThumbnailImageItemCaption
    
    
    Example

    This C#/VB.NET code shows how to set thumbnail caption:

    
    ''' <summary>
    ''' Sets the custom thumbnail caption.
    ''' </summary>
    ''' <param name="thumbnailViewer">The thumbnail viewer.</param>
    Public Shared Sub SetThumbnailCaption(thumbnailViewer As Vintasoft.Imaging.Wpf.UI.WpfThumbnailViewer)
        thumbnailViewer.ThumbnailCaption.CaptionFormat = "File {Filename}, page {PageNumber}"
        thumbnailViewer.ThumbnailCaption.IsVisible = True
    End Sub
    
    
    
    /// <summary>
    /// Sets the custom thumbnail caption.
    /// </summary>
    /// <param name="thumbnailViewer">The thumbnail viewer.</param>
    public static void SetThumbnailCaption(Vintasoft.Imaging.Wpf.UI.WpfThumbnailViewer thumbnailViewer)
    {
        thumbnailViewer.ThumbnailCaption.CaptionFormat = "File {Filename}, page {PageNumber}";
        thumbnailViewer.ThumbnailCaption.IsVisible = true;
    }
    
    

    Inheritance Hierarchy

    System.Object
       Vintasoft.Imaging.Wpf.UI.ThumbnailImageItemCaption

    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also