You are here: Start » AVL.NET » Invoke.GrabImage_FromFiles
Simulates capturing a frame from a camera.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static bool GrabImage_FromFiles ( string inDirectory, Optional<Avl.ImageFileFormat> inFileType, Avl.FileSortingOrder inSortingOrder, bool inRepeat, bool inProcessSubdirectories, bool inInvert, bool inLoadAlphaChannel, int inDelay, Avl.Image outImage, out string outFilePath, out string outFileName )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inDirectory | string | \".\" | Input directory. Default value: ".". | |
![]()  | inFileType | Atl.Optional<Avl.ImageFileFormat> | File format of the images. Default value: atl::NIL. | ||
![]()  | inSortingOrder | Avl.FileSortingOrder | Sorting order. | ||
![]()  | 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 | <0, 2000> | ||
![]()  | outImage | Avl.Image | Output image. | ||
![]()  | outFilePath | string | Output file path. | ||
![]()  | outFileName | string | Output file name. | 


