Page 1 of 1

WPF: Select Multiple Thumbnails

Posted: Fri May 15, 2020 8:56 pm
by imarketing21
Alex,

We are using the WPFViewer and would like to know if is possible to select multiple thumbnails from the viewer and then read each selected thumbnail in the code behind.

If this is possible, can you please point me in the right direction?

Cesar

Re: WPF: Select Multiple Thumbnails

Posted: Thu May 21, 2020 8:28 am
by Alex
Hello Cesar,

You can enable selection of multiple thumbnails in WpfImageViewer using the WpfThumbnailViewer.MultiSelect property.

WpfThumbnailViewer.SelectedThumbnails property returns a collection of selected thumbnails as a collection of instances of ThumbnailImageItem class.

The ThumbnailImageItem.ThumbnailSource property allows to get the thumbnail bitmap source.

I hope I answered to your question.

Best regards, Alexander