Accusoft TwainPRO 9
SaveFile Method
A string representation of a legal file name (path) to which the file will be saved.
Description
Saves the current acquired DIB as a file given a path and file name.
Syntax
Visual Basic
Public Sub SaveFile( _
   ByVal FileName As String _
) 
Parameters
FileName
A string representation of a legal file name (path) to which the file will be saved.
Remarks

A valid FTP address can also be specified for the path, provided the FTPUserName and FTPPassword properties are set appropriately for the ftp server specified in the path. The bitmap saved will be the same bits per pixel and color depth as the current DIB.

This method can be used to specify the format of the file. If the SaveFileType property is set to TP_SaveFileType_Default, one of the following valid file extensions need to be used: .bmp, .jpg, .pic, .tif., and .pdf.

See Also

TwainPro Object  | TwainPro Members  | FTPUserName Property  | SaveFileType Property  | TP_SaveFileType Enumeration

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback