You are here: Start » FIL.NET » Invoke.EnumerateImages_Random
Scans a disk directory for image files and then returns the images one by one in consecutive iterations sorted randomly.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static bool EnumerateImages_Random ( Fil.EnumerateFilesRandomState ioState, string inDirectory, Optional<Fil.ImageFileFormat> inFileType, Optional<int> inSeed, bool inRepeat, bool inProcessSubdirectories, bool inInvert, bool inLoadAlphaChannel, int inDelay, Fil.Image outImage, out string outFilePath, out string outFileName, Optional<bool> outIsFirst, Optional<bool> outIsLast )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | Fil.EnumerateFilesRandomState | ||||
![]() | inDirectory | string | \".\" | Input directory. Default value: ".". | |
![]() | inFileType | Ftl.Optional<Fil.ImageFileFormat> | File format of the images. Default value: ftl::NIL. | ||
![]() | inSeed | Ftl.Optional<int> | Random seed used to determine random sorting order. Default value: ftl::NIL. | ||
![]() | 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 | Fil.Image | Output image. | ||
![]() | outFilePath | string | Output file path. | ||
![]() | outFileName | string | Output file name. | ||
![]() | outIsFirst | Ftl.Optional<bool> | Flag indicating the first iteration. | ||
![]() | outIsLast | Ftl.Optional<bool> | Flag indicating the last iteration. |