VintaSoft Imaging .NET SDK 12.3: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Tiff Namespace / TiffPage Class / Save Methods / Save(String,EncoderBase) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    Save(String,EncoderBase) Method (TiffPage)
    In This Topic
    Saves an image associated with this TIFF page to the specified path by the specified encoder.
    Syntax
    'Declaration
    
    Public Overloads Sub Save( _
    ByVal encoder
    Encoder which should be used for saving image.
    As System.String, _
    ByVal filename
    A string that contains the name of the file to which to save image.
    As Vintasoft.Imaging.Codecs.Encoders.EncoderBase _
    )

    Parameters

    encoder
    Encoder which should be used for saving image.
    filename
    A string that contains the name of the file to which to save image.
    Exceptions
    ExceptionDescription
    Thrown if filename or encoder is null.
    Remarks

    Supported image formats: BMP, GIF, JPEG, PDF, PNG, TIFF, multipage TIFF.

    The image cannot be saved to the file from which it was loaded.

    This method will add image to the multipage TIFF file if appropriate parameter is set in the TiffEncoder object.

    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