You are here: Start » AVL.NET » Invoke.EnumerateImages
Scans a disk directory for image files and then returns the images one by one in consecutive iterations sorted according to the specified order.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static bool EnumerateImages ( Avl.EnumerateFilesState ioState, string inDirectory, Optional<Avl.ImageFileFormat> inFileType, Avl.FileSortingOrder inSortingOrder, bool inRepeat, bool inProcessSubdirectories, bool inInvert, bool inLoadAlphaChannel, int inDelay, Avl.Image outImage, out string outFilePath, out string outFileName, Optional<bool> outIsFirst, Optional<bool> outIsLast )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | Avl.EnumerateFilesState | ||||
![]() | inDirectory | string | \".\" | Input directory. Default value: ".". | |
![]() | inFileType | Atl.Optional<Avl.ImageFileFormat> | File format of the images. Default value: atl::NIL. | ||
![]() | inSortingOrder | Avl.FileSortingOrder | Sorting order. | ||
![]() | inRepeat | bool | Determines whether to repeat reading directory after reading all files. | ||
![]() | inProcessSubdirectories | bool | Flag indicating whether to load images from the subdirectories or not. | ||
![]() | inInvert | bool | Flag indicating whether to enumerate images backwards or not. | ||
![]() | inLoadAlphaChannel | bool | Flag indicating whether to load alpha channel of the image or not. | ||
![]() | inDelay | int | Minimum time between iterations in milliseconds. | ||
![]() | outImage | Avl.Image | Output image. | ||
![]() | outFilePath | string | Output file path. | ||
![]() | outFileName | string | Output file name. | ||
![]() | outIsFirst | Atl.Optional<bool> | Flag indicating the first iteration. | ||
![]() | outIsLast | Atl.Optional<bool> | Flag indicating the last iteration. |