Accusoft.TwainProSdk Namespace > ScannedImage Class > SaveFile Method : SaveFile(String,SaveOptions) Method |
'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 )
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."