Accusoft.TwainPro8.Net
SaveFile(String,SaveOptions) Method
See Also  Send Feedback
Accusoft.TwainProSdk Namespace > ScannedImage Class > SaveFile Method : SaveFile(String,SaveOptions) Method




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.

Glossary Item Box

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

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 
'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)

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

©2013. Accusoft Corporation. All Rights Reserved.