VintaSoft Imaging .NET SDK 12.1: Documentation for .NET developer
In This Topic
    View thumbnails with annotations in WPF
    In This Topic
    WpfAnnotatedThumbnailViewer class is a WPF control, which is derived from WpfThumbnailViewer class,
    and intended for viewing image thumbnails with annotations.

    WpfAnnotatedThumbnailViewer class extends the functionality of WpfThumbnailViewer class and allows to:

    Here is an example showing how to load images with annotations from file and display their thumbnails with annotations:
    void LoadImagesWithAnnotation(
        Vintasoft.Imaging.Annotation.Wpf.UI.WpfAnnotatedThumbnailViewer wpfAnnotatedThumbnailViewer, string filename)
    {
        wpfAnnotatedThumbnailViewer.Images.Add(filename);
    }
    
    Private Sub LoadImagesWithAnnotation(wpfAnnotatedThumbnailViewer As Vintasoft.Imaging.Annotation.Wpf.UI.WpfAnnotatedThumbnailViewer, filename As String)
        wpfAnnotatedThumbnailViewer.Images.Add(filename)
    End Sub
    


    WpfAnnotatedThumbnailViewer class can be used separately or together with AnnotationViewer class.

    If WpfAnnotatedThumbnailViewer class is used separately then it just shows annotations on thumbnails.

    If WpfAnnotatedThumbnailViewer class is used together with AnnotationViewer class then it shows annotations on thumbnails and, at the same time, performs simultaneous update of active image thumbnail in AnnotationViewer when annotations associated with the thumbnail are changing (new annotation is added, existing annotation is transformed, etc).