Automatic copying between thumbnailviewers

Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.

Moderator: Alex

Post Reply
anovak
Posts: 2
Joined: Fri Dec 11, 2020 2:29 am

Automatic copying between thumbnailviewers

Post by anovak »

Hello,
I want to use two thumbnailviewers (A, B).
I want it to be automatically transferred to thumbnailviewer 'B' when I select an image in thumbnailviewer 'A'. If the selection is lost in 'A', delete it from 'B'. Can this be automated?

Thanks.
Attila
Alex
Site Admin
Posts: 2044
Joined: Thu Jul 10, 2008 2:21 pm

Re: Automatic copying between thumbnailviewers

Post by Alex »

Hello Attila,

Yes, this is possible.

ThumbnailViewer.SelectedIndices property returns collection of indices of the selected thumbnails as instance of class SelectedThumbnailImageIndexCollection. You can subscribe to the SelectedThumbnailImageIndexCollection.Changed event and understand that selected thumbnails are changed in thumbnail viewer 'A'. After this you can do necessary task in thumbnail viewer 'B'.

Best regards, Alexander
anovak
Posts: 2
Joined: Fri Dec 11, 2020 2:29 am

Re: Automatic copying between thumbnailviewers

Post by anovak »

Thanks for the quick reply Alex.

Best regards,
Attila
Post Reply