VintaSoft Twain .NET SDK 15.4: Documentation for .NET developer
Vintasoft.Twain Namespace / AcquiredImage Class / SaveToFile(String,TwainImageEncoderSettings) Method
Syntax Exceptions Remarks Example Requirements SeeAlso
In This Topic
SaveToFile(String,TwainImageEncoderSettings) Method (AcquiredImage)
In This Topic
Saves this image to a file.
Syntax

Parameters

filename
Name of file where image must be saved.
encoderSettings
Image encoder settings.
Exceptions
ExceptionDescription
Thrown if filename is null.
Thrown if extension of filename is unsupported.
Thrown if error occurs at the image saving.
Remarks

This method equals to the Save(String,TwainImageEncoderSettings) method.

Example

Please see example here: AcquiredImage.

Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also