You are here: Start » FIL.NET » Function Reference » Image » Image IO » FIL.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: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static bool EnumerateImages ( FilNet.EnumerateFilesState ioState, string inDirectory, FilNet.ImageFileFormat? inFileType, FilNet.FileSortingOrder inSortingOrder, bool inRepeat, bool inProcessSubdirectories, bool inInvert, bool inLoadAlphaChannel, int inDelay, FilNet.Image outImage, out string outFilePath, out string outFileName, out bool outIsFirst, out bool outIsLast )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | FilNet.EnumerateFilesState | ||||
![]() | inDirectory | string | \".\" | Input directory. Default value: ".". | |
![]() | inFileType | FilNet.ImageFileFormat? | File format of the images. Default value: ftl::NIL. | ||
![]() | inSortingOrder | FilNet.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 | FilNet.Image | Output image. | ||
![]() | outFilePath | string | Output file path. | ||
![]() | outFileName | string | Output file name. | ||
![]() | outIsFirst | bool | Flag indicating the first iteration. | ||
![]() | outIsLast | bool | Flag indicating the last iteration. |
Function Overrides
- EnumerateImages(EnumerateFilesState, String, FileSortingOrder, Boolean, Boolean, Boolean, Boolean, Int32, Image, String, String)
- EnumerateImages(EnumerateFilesState, String, Nullable<ImageFileFormat>, FileSortingOrder, Boolean, Boolean, Boolean, Boolean, Int32, Image, String, String)
- EnumerateImages(EnumerateFilesState, String, Nullable<ImageFileFormat>, FileSortingOrder, Boolean, Boolean, Boolean, Boolean, Int32, Image, String, String, NullableValue<Boolean>, NullableValue<Boolean>)