[]
        
(Showing Draft Content)

C1.Win.Bitmap.C1Bitmap.SaveAsJpeg

SaveAsJpeg Method

SaveAsJpeg(Stream, JpegOptions)

Saves the image to a System.IO.Stream in JPEG format.

Declaration
public void SaveAsJpeg(Stream stream, JpegOptions options)
Parameters
Type Name Description
Stream stream

The output stream.

JpegOptions options

The options for the JPEG image encoder.

SaveAsJpeg(string, JpegOptions)

Saves the image to a file in JPEG format.

Declaration
public void SaveAsJpeg(string fileName, JpegOptions options)
Parameters
Type Name Description
string fileName

The output file name.

JpegOptions options

The options for the JPEG image encoder.