[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Page.SaveAsJpeg

SaveAsJpeg Method

SaveAsJpeg(Stream, ViewState, SaveAsImageOptions)

Saves the page as an image to a stream in JPEG format.

Declaration
public void SaveAsJpeg(Stream stream, ViewState viewState, SaveAsImageOptions options = null)
Parameters
Type Name Description
Stream stream

The output stream.

ViewState viewState

The document view state.

SaveAsImageOptions options

The SaveAsImageOptions object.

SaveAsJpeg(Stream, SaveAsImageOptions)

Saves the page as an image to a stream in JPEG format.

Declaration
public void SaveAsJpeg(Stream stream, SaveAsImageOptions options = null)
Parameters
Type Name Description
Stream stream

The output stream.

SaveAsImageOptions options

The SaveAsImageOptions object.

SaveAsJpeg(string, ViewState, SaveAsImageOptions)

Saves the page as an image to a file in JPEG format.

Declaration
public void SaveAsJpeg(string filePath, ViewState viewState, SaveAsImageOptions options = null)
Parameters
Type Name Description
string filePath

The output file path.

ViewState viewState

The document view state.

SaveAsImageOptions options

The SaveAsImageOptions object.

SaveAsJpeg(string, SaveAsImageOptions)

Saves the page as an image to a file in JPEG format.

Declaration
public void SaveAsJpeg(string filePath, SaveAsImageOptions options = null)
Parameters
Type Name Description
string filePath

The output file path.

SaveAsImageOptions options

The SaveAsImageOptions object.