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.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
ioStateAvlNet.EnumerateFilesState
inDirectorystringInput directory.
inSortingOrderAvlNet.FileSortingOrderSort order: Name, Size, Date or Path.
inRepeatboolDetermines whether to repeat reading directory after reading all files.
inProcessSubdirectoriesboolFlag indicating whether to load images from the subdirectories or not.
inInvertboolFlag indicating whether to enumerate images backwards or not.
inLoadAlphaChannelboolFlag indicating whether to load alpha channel of the image or not.
outImageAvlNet.ImageOutput image.
outFilePathstringOutput file path.
outFileNamestringOutput file name.

See also