CImageView:SwapPrev


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

Syntax

CImageView:SwapPrev( nIndex )

bullet.gif    where nIndex is the last of the pair to swap and must be greater than 1.

Remarks

The CImageView refers to a Mira image display window. 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 1. 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

CImageView , SwapNext, Image Set


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics, Inc. All Rights Reserved.