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