Accusoft.TwainPro9.Net
SaveFile(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.
Deprecated, please use SaveToFile(System.String filename, SaveOptions saveOptions) to save the TwainPro-compressed image to file or SaveSourceCompressedImageToFile(System.String filename) to save the Source-compressed image to file instead. Saves the scanned image to file using the specified filename and save options.
Syntax
'Declaration
 
<ObsoleteAttribute("Deprecated, please use SaveToFile(System.String filename, SaveOptions saveOptions) or SaveSourceCompressedImageToFile(System.String filename) instead.")>
Public Overloads Sub SaveFile( _
   ByVal filename As String, _
   ByVal saveOptions As SaveOptions _
) 
'Usage
 
Dim instance As ScannedImage
Dim filename As String
Dim saveOptions As SaveOptions
 
instance.SaveFile(filename, saveOptions)
[Obsolete("Deprecated, please use SaveToFile(System.String filename, SaveOptions saveOptions) or SaveSourceCompressedImageToFile(System.String filename) instead.")]
public void SaveFile( 
   string filename,
   SaveOptions saveOptions
)
[Obsolete("Deprecated, please use SaveToFile(System.String filename, SaveOptions saveOptions) or SaveSourceCompressedImageToFile(System.String filename) instead.")]
public: void SaveFile( 
   string* filename,
   SaveOptions* saveOptions
) 
[Obsolete("Deprecated, please use SaveToFile(System.String filename, SaveOptions saveOptions) or SaveSourceCompressedImageToFile(System.String filename) instead.")]
public:
void SaveFile( 
   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

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback