VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.UI Namespace / ThumbnailViewer Class
Members Example



In This Topic
    ThumbnailViewer Class
    In This Topic
    Viewer control for displaying the thumbnails of image collection.
    Object Model
    ThumbnailViewer ClassThumbnailAppearance ClassThumbnailAppearance ClassDecodingSettings ClassImageCollection ClassVintasoftImage ClassImageViewerBase ClassThumbnailAppearance ClassIndicesCollection ClassThumbnailAppearance ClassThumbnailAppearance Class
    Syntax
    'Declaration
     
    Public Class ThumbnailViewer 
       Inherits ImageViewerBase
    public class ThumbnailViewer : ImageViewerBase 
    public __gc class ThumbnailViewer : public ImageViewerBase 
    public ref class ThumbnailViewer : public ImageViewerBase 
    Remarks
    ThumbnailViewer allows to:
    • Preview thumbnails of images
    • Select multiple thumbnails
    • Reorder thumbnails using drag-and-drop
    • Remove thumbnail(s) from thumbnail viewer
    • Use copy/cut/paste operations

    ThumbnailViewer has the image collection (the Images property) which stores images associated with this viewer.

    ThumbnailViewer can work separately (thumbnail viewer will have own image collection) or as a slave viewer of another viewer (thumbnail viewer will use the image collection of master viewer).

    ThumbnailViewer starts a background thread each time when the image collection associated with it was changed. It raises the ThumbnailAdded event for each added or updated thumbnail.

    Images from the ThumbnailViewer's image collection can be reordered using drag-and-drop.
    Example
    Class ThumbnailViewerExample
        Private _thumbnailViewer1 As Vintasoft.Imaging.UI.ThumbnailViewer = Nothing
        Private _imageViewer1 As Vintasoft.Imaging.UI.ImageViewer = Nothing
                
        Public Sub RunExample()
            _thumbnailViewer1.MasterViewer = _imageViewer1
            _thumbnailViewer1.Images.Add("c:\multipage.tiff")
        End Sub
    End Class
    class ThumbnailViewerExample
    {
        Vintasoft.Imaging.UI.ThumbnailViewer _thumbnailViewer1 = null;
        Vintasoft.Imaging.UI.ImageViewer _imageViewer1 = null;
                
        public void RunExample()
        {
            _thumbnailViewer1.MasterViewer = _imageViewer1;
            _thumbnailViewer1.Images.Add(@"c:\multipage.tiff");
        }
    }
    Inheritance Hierarchy

    System.Object
       System.MarshalByRefObject
          System.ComponentModel.Component
             System.Windows.Forms.Control
                System.Windows.Forms.ScrollableControl
                   Vintasoft.Imaging.UI.ImageViewerBase
                      Vintasoft.Imaging.UI.ThumbnailViewer
                         Vintasoft.Imaging.Annotation.UI.AnnotatedThumbnailViewer

    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also