You are here: Start » AVL.NET » AVL.EnumerateImages Method
AVL.EnumerateImages Method
Scans a disk directory for image files and then returns the images one by one in consecutive iterations.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static bool EnumerateImages( ref AvlNet.EnumerateFilesState ioState, string inDirectory, AvlNet.ImageFileFormat? inFileType, AvlNet.FileSortingOrder inSortingOrder, bool inRepeat, bool inProcessSubdirectories, bool inInvert, bool inLoadAlphaChannel, out AvlNet.Image outImage, out string outFilePath, out string outFileName )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | AvlNet.EnumerateFilesState | ||||
inDirectory | string | Input directory. | |||
inFileType | AvlNet.ImageFileFormat? | File format of the images. Default value: atl::NIL, or null. | |||
inSortingOrder | AvlNet.FileSortingOrder | Sort order: Name, Size, Date or Path. | |||
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. | |||
outImage | AvlNet.Image | Output image. | |||
outFilePath | string | Output file path. | |||
outFileName | string | Output file name. |