ImageGear for .NET
ImageFileName Property
See Also  Send Feedback
ImageGear21.Twain Assembly > ImageGear.TWAIN Namespace > ImGearTWAIN Class : ImageFileName Property




Glossary Item Box

Gets or sets the name of a file or directory to which a scanned image will be stored when Disk Transfer Mode is used.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Property Value

String value.

Remarks

Disk Transfer Mode should be used when the TWAIN driver should do the file saving. If instead ImageGear saving is preferred, then AcquireToFile should be used.

If ImageFileName is set to a directory, then when Disk Transfer Mode is used, a separate file will be created for each scanned page, for example: 0000001.tif, 00000002.tif, 00000003.tif, etc. If these files already exist, the existing files will be replaced.

If ImageFileName is set to a filename, then when Disk Transfer Mode is used, a separate file will be created for each scanned page, using the ImageFileName. For example, if ImageFileName = "ScanTest.bmp", then each page will be named as follows: ScanTest.bmp, ScanTest0.bmp, ScanTest1.bmp, ScanTest10.bmp, ScanTest11.bmp, etc. If these files already exist, they will be replaced.

Disk Transfer mode does not support saving multiple pages to a single file regardless of whether the format supports it. A separate file will always be created for each page.

See Also

©2013. Accusoft Corporation. All Rights Reserved.