ImageGear23.Twain Assembly > ImageGear.TWAIN Namespace > ImGearTWAIN Class : ImageFileName Property |
'Declaration Public Property ImageFileName As String
'Usage Dim instance As ImGearTWAIN Dim value As String instance.ImageFileName = value value = instance.ImageFileName
public string ImageFileName {get; set;}
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.