VintaSoft Twain .NET SDK 14.1: Documentation for .NET developer
Vintasoft.WpfTwain Namespace / AcquiredImage Class / SaveToStream(Stream,TwainImageEncoderSettings) Method
Syntax Exceptions Remarks Example Requirements SeeAlso
In This Topic
    SaveToStream(Stream,TwainImageEncoderSettings) Method (AcquiredImage)
    In This Topic
    Saves this image to the specified stream in the specified format.
    Syntax
    Exceptions
    ExceptionDescription
    Thrown if stream is null or encoderSettings is null.
    Thrown if error occurs at the image saving.
    Remarks

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

    Example

    Please see example here: GetAsStream(TwainImageEncoderSettings).

    Requirements

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

    See Also