OpenNext

_, _ImageOpenFirst, _ImageOpenLast, _ImageOpenNext, _ImageOpenPrevious, _ImageOpenSettings, _OpenNext_SetNum, ImageOpenFirst, ImageOpenLast, ImageOpenNext, ImageOpenPrevious, OpenNext_LimitDocuments, OpenNext_SetNum, OpenNext_Sort, OpenNext_SourceImages

ImageOpenFirst

Interactive command to this function: File > Open/Save Next > Open First

Description 

 ImageOpenFirst();

This function opens the first image from the list of files defined by Open Next parameters.

Note

If number of opened images exceeds the number, defined in the Open Next Options dialog box, the first open images will be closed without saving any possible changes in them.

See Also 
ImageOpenLast, ImageOpenNext, ImageOpenPrevious, _ImageOpenSettings

ImageOpenLast

Interactive command to this function: File > Open/Save Next > Open Last

Description 

 ImageOpenLast();

This function opens the last image from the list of files defined by Open Next parameters.

Note

If number of opened images exceeds the number, defined in the Open Next Options dialog box, the first open images will be closed without saving any possible changes in them.

See Also 
ImageOpenFirst, ImageOpenNext, ImageOpenPrevious, _ImageOpenSettings

ImageOpenNext

Interactive command to this function: File > Open/Save Next > Open Next

Description 

 ImageOpenNext();

This function opens the next image from the list of files defined by Open Next parameters.

Note

If number of opened images exceeds the number, defined in the Open Next Options dialog box, the first open images will be closed without saving any possible changes in them.

See Also 
ImageOpenFirst, ImageOpenLast, ImageOpenPrevious, _ImageOpenSettings

ImageOpenPrevious

Interactive command to this function: File > Open/Save Next > Open Previous

Description 

 ImageOpenPrevious();

This function opens the previous image from the last image opened by Open Image dialog box.

Note

If number of opened images exceeds the number, defined in the Open Next Options dialog box, the first open images will be closed without saving any possible changes in them.

See Also 
ImageOpenFirst, ImageOpenLast, ImageOpenNext, _ImageOpenSettings

OpenNext_LimitDocuments

Description 

 OpenNext_LimitDocuments(
   int  MaxOpenedDocuments
);

This function sets limit number of opened documents via open next command.

Parameters

int MaxOpenedDocuments

Limit of opened documents. Maximum value is 24.

OpenNext_SetNum

Description 

 OpenNext_SetNum(
   int  number
);

This function sets the number that corresponds to an image that will be opened by next call of the ImageOpenNext function.

Parameters

int number

Image number.

See Also 
OpenNext_Sort, OpenNext_SourceImages

OpenNext_Sort

Description 

 OpenNext_Sort(
   int  ApplySort,
   int  SortItem,
   int  SortOrder
);

Sets up sorting conditions for functions like ImageOpenPrevious, ImageOpenFirst and ImageOpenLast.

Parameters

int ApplySort

Enables/Disables sorting for Sequence function. Using the Sequences command, Image menu, the application sets ApplySort=0 if you do not expand the Sequences dialog box using Options button. Otherwise, ApplySort=1.

0

Off

1

On

int SortItem

Item for sorting.

0

Unordered

1

Filename

2

Directory

3

Filesize

4

Creation Time

5

Access Time

6

Filedate

7

Image Size

8

Calibration

9

Acq.Time

10

Optics

11

Type

12

SampleID

13

Author

15

ImageID

16

Group

17+

Capturing

18

Sampling

19

Location

20

Date

21

Conclusion

22

Info1

23

Info2

int SortOrder

SortOrder.

0

Ascending

1

Descending

See Also 
OpenNext_SetNum, OpenNext_SourceImages

OpenNext_SourceImages

Description 

 OpenNext_SourceImages(
   char *ImageDirectory,
   int  ImageExt,
   char *FileFilter
);

This function defines directory and image type for functions like ImageOpenNext, ImageOpenPrevious, ImageOpenFirst and ImageOpenLast.

Parameters

char *ImageDirectory

Directory of the source images.

int ImageExt

Type of images. Image types.

0

All images

1

ND2

2

TIFF

3

JPEG2000

4

LIM

5

JPEG

6

EZ-C1 ICS/IDS

7

BMP

8

PNG

9

GIF

10

AVI

11

PSD

12

MP4

13

NDP

14

NEF/NRW

15

OME.TIF

16

Zeiss LSM

char *FileFilter

Filter for filenames. For example, if FileFilter=="agnor", only images like agnor01, agnor02 will be opened.

See Also 
OpenNext_SetNum, OpenNext_Sort

_EnterDirectory

This function runs the File > Recent Folders command.

Description 

 _EnterDirectory(
   char *ImageDirectory,
   int  ImageExt
);

Sets the working directory in the same way as the OpenNext_SourceImages function and opens a dialog for selecting an image to be opened.

Parameters

char *ImageDirectory

Directory of the source images.

int ImageExt

Image types.

0

All images

1

ND2

2

TIFF

3

JPEG2000

4

LIM

5

JPEG

6

EZ-C1 ICS/IDS

7

BMP

8

PNG

9

GIF

10

OME.TIFF

11

MP4

12

AVI

13

PSD

14

NDP

15

NEF/NRW

16

Zeiss LSM

Note

This function also sets parameters Directory and Files of Type in the Options > Open Next dialog box.

See Also 
_ImageOpenSettings

_ImageOpenFirst

This function runs the File > Open/Save Next > Open First command.

Description 

 _ImageOpenFirst();

This function opens the first image from the directory defined by Open Next parameters.

Note

If number of opened images exceeds the number, defined in the General Options dialog box, the first open images will be closed, allowing the user to save possible changes.

See Also 
_ImageOpenSettings, ImageOpenFirst

_ImageOpenLast

This function runs the File > Open/Save Next > Open Last command.

Description 

 _ImageOpenLast();

Function _ImageOpenLast opens the last image from the directory defined by Open Next parameters.

Note

If number of opened images exceeds the number, defined in the General Options dialog box, the first open images will be closed, allowing the user to save possible changes.

See Also 
_ImageOpenSettings, ImageOpenLast

_ImageOpenNext

This function runs the File > Open/Save Next > Open Next command.

Description 

 _ImageOpenNext();

This function opens the next image from the list of files defined by Open Next parameters.

Note

If number of opened images exceeds the number, defined in the General Options dialog box, the first open images will be closed, allowing the user to save possible changes.

See Also 
_ImageOpenSettings, ImageOpenNext

_ImageOpenPrevious

This function runs the File > Open/Save Next > Open Previous command.

Description 

 _ImageOpenPrevious();

This function opens the previous image from the list of files defined by Open Next parameters.

Note

If number of opened images exceeds the number, defined in the General Options dialog box, the first open images will be closed, allowing the user to save possible changes.

See Also 
_ImageOpenSettings, ImageOpenPrevious

_ImageOpenSettings

This function runs the File > Open/Save Next > Open Options command.

Description 

 _ImageOpenSettings();

The function displays the Options dialog box.

_OpenNext_SetNum

Description 

 _OpenNext_SetNum(
   int  OpenNext_Num
);

This function sets and opens image specified by parameter. Function ImageOpenNext increments pointer to image list, but _OpenNext_SetNum opens specified image.

Parameters

int OpenNext_Num

Image number in current Open Next image list. Range is from 1 to number of images in the list.

See Also 
ImageOpenNext, OpenNext_SetNum