VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Jpeg Namespace / JpegFile Class / Save Methods / Save(String,IProgressController) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
Save(String,IProgressController) Method (JpegFile)
In This Topic
Saves this JPEG file to specified file.
Syntax
'Declaration

Public Overloads Overrides Sub Save( _
ByVal filename
The filename to save the image file.
As System.String, _
ByVal progressController
Progress controller.
As Vintasoft.Imaging.Utils.IProgressController _
)

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. Current source of the image file is not changed.

Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also