You are here: Start » FIL.NET » Invoke.GrabImage_FromFiles

Invoke.GrabImage_FromFiles

Simulates capturing a frame from a camera.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static bool GrabImage_FromFiles
(
	string inDirectory,
	Optional<Fil.ImageFileFormat> inFileType,
	Fil.FileSortingOrder inSortingOrder,
	bool inRepeat,
	bool inProcessSubdirectories,
	bool inInvert,
	bool inLoadAlphaChannel,
	int inDelay,
	Fil.Image outImage,
	out string outFilePath,
	out string outFileName
)

Parameters

Name Type Range Default Description
inDirectorystring\".\"Input directory. Default value: ".".
inFileTypeFtl.Optional<Fil.ImageFileFormat>File format of the images. Default value: ftl::NIL.
inSortingOrderFil.FileSortingOrderSorting order.
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.
inDelayint<0, 2000>
outImageFil.ImageOutput image.
outFilePathstringOutput file path.
outFileNamestringOutput file name.

See also