VintaSoft Imaging .NET SDK 12.3: Documentation for .NET developer
Vintasoft.Imaging.Codecs.Encoders Namespace / EncoderBase Class / SaveImage Methods / SaveImage(VintasoftImage,Stream) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    SaveImage(VintasoftImage,Stream) Method (EncoderBase)
    In This Topic
    Saves the image to the stream.
    Syntax
    'Declaration
    
    Public Overloads Function SaveImage( _
    ByVal image
    VintasoftImage object to save.
    As Vintasoft.Imaging.VintasoftImage, _
    ByVal stream
    Stream where the image should be saved.
    As System.IO.Stream _
    ) As Boolean

    Parameters

    image
    VintasoftImage object to save.
    stream
    Stream where the image should be saved.

    Return Value

    True - image is successfully saved to the stream;
    false - image is not saved to the stream because is not necessary or canceled.
    Exceptions
    ExceptionDescription
    Thrown if image or stream are null.
    Thrown if image is locked and cannot be saved.
    Remarks

    This method must be overwritten in child classes.

    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