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

    Parameters

    filename
    A string that contains the name of the file to which to save image.
    Exceptions
    ExceptionDescription
    Thrown if filename is null.
    Remarks

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

    Suitable encoder will be selected automatically by using the extension of the filename.

    PngEncoder object will be used for saving image if the suitable encoder will not be found by using the extension of the filename.

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

    This method always will create a new TIFF file.

    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