VintaSoft Imaging .NET SDK and Plug-ins Discussions

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

Board index < VintaSoft Imaging < VintaSoft Imaging .NET SDK and Plug-ins Discussions

We are migrating to new forums engine, no new registration or posting currently available. TIA for your patience.

SWAP 2 Images



SWAP 2 Images

Post by davidng »

Hi everyone,

I am looking sample code to swap 2 images.

For example, When I select an image & press HOME key, the application will this image with 1st image in thumbnail viewer.

Thank you in advance for your thought & help on this.

David


Re: SWAP 2 Images

Post by davidng »

Hi,

Just want to clarify 1 thing: In a Thumbnail Viewer, I like to SWAP 2 images in Thumbnail Viewer.

Thanks.


Re: SWAP 2 Images

Post by Alex »

Hello David,

You need to use the Swap method of the ImageCollection class:
ThumbnailViewer1.Images.Swap(0, 1)
Best regards, Alexander


Re: SWAP 2 Images

Post by davidng »

Hi Alex,

It works. Thank you very much.


Page 1 from 1: 1