[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Windows.GcWicBitmap.Save

Save Method

Save(Stream, WicContainerFormat, BaseOptions)

Saves the image to a System.IO.Stream using the specified format and options.

Declaration
public void Save(Stream stream, WicContainerFormat format, BaseOptions options = null)
Public Sub Save(stream As Stream, format As WicContainerFormat, Optional options As BaseOptions = Nothing)
Parameters
Type Name Description
Stream stream

The output stream.

WicContainerFormat format

The container format that determines the image encoder.

BaseOptions options

The options for the specified image encoder.

Save(string, WicContainerFormat, BaseOptions)

Saves the image to a file using the specified format and options.

Declaration
public void Save(string fileName, WicContainerFormat format, BaseOptions options = null)
Public Sub Save(fileName As String, format As WicContainerFormat, Optional options As BaseOptions = Nothing)
Parameters
Type Name Description
string fileName

The output file name.

WicContainerFormat format

The container format that determines the image encoder.

BaseOptions options

The options for the specified image encoder.