VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Codecs.Encoders Namespace / EncoderBase Class / SaveImage Methods / SaveImage(VintasoftImage,Stream,IProgressController) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    SaveImage(VintasoftImage,Stream,IProgressController) Method (EncoderBase)
    In This Topic
    Saves the image to the stream.
    Syntax

    Parameters

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

    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