You are here: Start » FIL.NET » Function Reference » Image » Image IO » FIL.EnumerateImages_Random
Scans a disk directory for image files and then returns the images one by one in consecutive iterations sorted randomly.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static bool EnumerateImages_Random ( FilNet.EnumerateFilesRandomState ioState, string inDirectory, FilNet.ImageFileFormat? inFileType, int? inSeed, bool inRepeat, bool inProcessSubdirectories, bool inInvert, bool inLoadAlphaChannel, int inDelay, FilNet.Image outImage, out string outFilePath, out string outFileName, NullableValue<bool> outIsFirst, NullableValue<bool> outIsLast )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | FilNet.EnumerateFilesRandomState | ||||
![]() | inDirectory | string | \".\" | Input directory. Default value: ".". | |
![]() | inFileType | FilNet.ImageFileFormat? | File format of the images. Default value: ftl::NIL. | ||
![]() | inSeed | 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 | FilNet.Image | Output image. | ||
![]() | outFilePath | string | Output file path. | ||
![]() | outFileName | string | Output file name. | ||
![]() | outIsFirst | FilNet.NullableValue<bool> | Flag indicating the first iteration. Can be null to skip this parameter calculation. | ||
![]() | outIsLast | FilNet.NullableValue<bool> | Flag indicating the last iteration. Can be null to skip this parameter calculation. |
Function Overrides
- EnumerateImages_Random(EnumerateFilesRandomState, String, Boolean, Boolean, Boolean, Boolean, Int32, Image, String, String)
- EnumerateImages_Random(EnumerateFilesRandomState, String, Nullable<ImageFileFormat>, Nullable<Int32>, Boolean, Boolean, Boolean, Boolean, Int32, Image, String, String)
- EnumerateImages_Random(EnumerateFilesRandomState, String, Nullable<ImageFileFormat>, Nullable<Int32>, Boolean, Boolean, Boolean, Boolean, Int32, Image, String, String, Boolean, Boolean)