You are here: Start » AVL.NET » AVL.EnumerateImages(AvlNet.EnumerateFilesState, string, AvlNet.FileSortingOrder, bool, bool, bool, bool, AvlNet.Image, string, string)

AVL.EnumerateImages(AvlNet.EnumerateFilesState, string, AvlNet.FileSortingOrder, bool, bool, bool, bool, AvlNet.Image, string, string)

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.FileSortingOrder inSortingOrder,
	bool inRepeat,
	bool inProcessSubdirectories,
	bool inInvert,
	bool inLoadAlphaChannel,
	out AvlNet.Image outImage,
	out string outFilePath,
	out string outFileName
)

Parameters

ioState
Type: AvlNet.EnumerateFilesState
inDirectory
Type: System.String
Input directory
inSortingOrder
Type: AvlNet.FileSortingOrder
Sort order: Name, Size, Date or Path
inRepeat
Type: System.Boolean
Determines whether to repeat reading directory after reading all files
inProcessSubdirectories
Type: System.Boolean
Flag indicating whether to load images from the subdirectories or not
inInvert
Type: System.Boolean
Flag indicating whether to enumerate images backwards or not
inLoadAlphaChannel
Type: System.Boolean
Flag indicating whether to load alpha channel of the image or not
outImage
Type: AvlNet.Image
Output image
outFilePath
Type: System.String
Output file path
outFileName
Type: System.String
Output file name

Remarks

See full override for more details.

See also