VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Jpeg Namespace / JpegFile Class / SaveChanges Methods / SaveChanges(String,IProgressController) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    SaveChanges(String,IProgressController) Method (JpegFile)
    In This Topic
    Saves changes of this JPEG file to specified file.
    Syntax
    'Declaration
    
    Public Overloads Overrides Sub SaveChanges( _
    ByVal filename
    The filename to save the image file.
    As System.String, _
    ByVal progressController
    Progress controller.
    As Vintasoft.Imaging.Utils.IProgressController _
    )
    public override void SaveChanges(
    System.String filename,
    Vintasoft.Imaging.Utils.IProgressController progressController
    )
    public: void SaveChanges(
    System.String filename,
    Vintasoft.Imaging.Utils.IProgressController* progressController
    ); override
    public:
    void SaveChanges(
    System.String filename,
    Vintasoft.Imaging.Utils.IProgressController^ progressController
    ); override

    Parameters

    filename
    The filename to save the image file.
    progressController
    Progress controller.
    Exceptions
    ExceptionDescription
    Thrown if filename is null.
    Thrown if filename is an empty string (""), contains only white space, or contains one or more invalid characters.
    Thrown if the caller does not have the required permission.
    Thrown if the specified path is invalid, such as being on an unmapped drive.
    Thrown if the access requested is not permitted by the operating system for the specified path, such as when the file or directory is set for read-only access.
    Thrown if the specified path, file name, or both exceed the system-defined maximum length. For example, on Windows-based platforms, paths must be less than 248 characters, and file names must be less than 260 characters.
    Remarks

    This method saves changes to specified file and makes this file as current source of the image file. Previous source of the image file is closed without save changes.

    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