[]
        
(Showing Draft Content)

GrapeCity.Documents.Html.HtmlPage.SaveAsJpeg

SaveAsJpeg Method

SaveAsJpeg(string, JpegOptions)

Saves the current web page as a JPEG image file.

Declaration
public void SaveAsJpeg(string outputFilePath, JpegOptions options = null)
Public Sub SaveAsJpeg(outputFilePath As String, Optional options As JpegOptions = Nothing)
Parameters
Type Name Description
string outputFilePath

The destination file path.

JpegOptions options

The set of parameters for the output JPEG image.

SaveAsJpeg(Stream, JpegOptions)

Saves the current page to a stream in JPEG format.

Declaration
public void SaveAsJpeg(Stream outputStream, JpegOptions options = null)
Public Sub SaveAsJpeg(outputStream As Stream, Optional options As JpegOptions = Nothing)
Parameters
Type Name Description
Stream outputStream

The destination stream.

JpegOptions options

The set of parameters for the output JPEG image.