CImageView:SwapNext


The SwapNext method exchanges the order of the images at the specified index and the next index in the image window attached to the CImageView.

Syntax

CImageView:SwapNext( nIndex )

where

    nIndex is the first index of the pair to swap and must be in the range 1 to Count–1.

  

The Image window uses an image set to display multiple images. This command swaps the order of images. For example, specifying nIndex = 2 swaps the order of images at index 2 and index 3. This command is useful for reordering or sorting the image display according to some property such as exposure time or time of acquisition.

Related Topics

SwapPrev

CImageView class

Image Sets