Accusoft.TwainPro9.Net
SaveToFile(String,SaveOptions) Method




A string representation of a legal file name (path) to which the file will be saved.
SaveOptions class that evaluates to the various settings for the particular file format to which the image will be saved.
Saves the TwainPro-compressed, scanned image to file using the specified filename and save options.
Syntax
'Declaration
 
Public Overloads Sub SaveToFile( _
   ByVal filename As String, _
   ByVal saveOptions As SaveOptions _
) 
'Usage
 
Dim instance As ScannedImage
Dim filename As String
Dim saveOptions As SaveOptions
 
instance.SaveToFile(filename, saveOptions)
public void SaveToFile( 
   string filename,
   SaveOptions saveOptions
)
public: void SaveToFile( 
   string* filename,
   SaveOptions* saveOptions
) 
public:
void SaveToFile( 
   String^ filename,
   SaveOptions^ saveOptions
) 

Parameters

filename
A string representation of a legal file name (path) to which the file will be saved.
saveOptions
SaveOptions class that evaluates to the various settings for the particular file format to which the image will be saved.
Remarks

The bitmap saved will be the same bits per pixel and color depth as the current DIB. If the SaveOptions image format is set to default, one of the following valid file extensions will need to be used: .bmp, .jpg, .pic, .tif, or .pdf."

See Also

Reference

ScannedImage Class
ScannedImage Members
Overload List

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback