[]
        
(Showing Draft Content)

C1.Win.Bitmap.C1Bitmap.Save

Save Method

Save(Stream, ContainerFormat, BaseOptions)

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

Declaration
public void Save(Stream stream, ContainerFormat format, BaseOptions options = null)
Parameters
Type Name Description
Stream stream

The output stream.

ContainerFormat format

The container format that determines the image encoder.

BaseOptions options

The options for the specified image encoder.

Save(string, ContainerFormat, BaseOptions)

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

Declaration
public void Save(string fileName, ContainerFormat format, BaseOptions options = null)
Parameters
Type Name Description
string fileName

The output file name.

ContainerFormat format

The container format that determines the image encoder.

BaseOptions options

The options for the specified image encoder.