Saves the document as a particular format. If no image format is specified the format will be inferred from the file name extension.
Syntax

[C#]

void Save(Stream stream, ImageFormat format);
void Save(Stream stream, ImageFormat format, EncoderParameters parameters);
void Save(string path);
void Save(string path, ImageFormat format);
void Save(string path, ImageFormat format, EncoderParameters parameters);

[Visual Basic]

Sub Save(stream As Stream, format As ImageFormat)
Sub Save(stream As Stream, format As ImageFormat, parameters As EncoderParameters)
Sub Save(path As String)
Sub Save(path As String, format As ImageFormat)
Sub Save(path As String, format As ImageFormat, parameters As EncoderParameters)
Params
Name Description
stream The destination stream.
format The image output format to use.
path The destination file path.
Notes

None.

Example

None.