[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Windows.GcWicBitmap.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 = null)
Public Sub SaveAsJpeg(stream As Stream, Optional options As JpegOptions = Nothing)
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 = null)
Public Sub SaveAsJpeg(fileName As String, Optional options As JpegOptions = Nothing)
Parameters
Type Name Description
string fileName

The output file name.

JpegOptions options

The options for the JPEG image encoder.