[]
Saves the page as an image to a stream in JPEG format.
public void SaveAsJpeg(Stream stream, ViewState viewState, SaveAsImageOptions options = null)
Public Sub SaveAsJpeg(stream As Stream, viewState As ViewState, Optional options As SaveAsImageOptions = Nothing)
| Type | Name | Description |
|---|---|---|
| Stream | stream | The output stream. |
| ViewState | viewState | The document view state. |
| SaveAsImageOptions | options | The SaveAsImageOptions object. |
Saves the page as an image to a stream in JPEG format.
public void SaveAsJpeg(Stream stream, SaveAsImageOptions options = null)
Public Sub SaveAsJpeg(stream As Stream, Optional options As SaveAsImageOptions = Nothing)
| Type | Name | Description |
|---|---|---|
| Stream | stream | The output stream. |
| SaveAsImageOptions | options | The SaveAsImageOptions object. |
Saves the page as an image to a file in JPEG format.
public void SaveAsJpeg(string filePath, ViewState viewState, SaveAsImageOptions options = null)
Public Sub SaveAsJpeg(filePath As String, viewState As ViewState, Optional options As SaveAsImageOptions = Nothing)
| Type | Name | Description |
|---|---|---|
| string | filePath | The output file path. |
| ViewState | viewState | The document view state. |
| SaveAsImageOptions | options | The SaveAsImageOptions object. |
Saves the page as an image to a file in JPEG format.
public void SaveAsJpeg(string filePath, SaveAsImageOptions options = null)
Public Sub SaveAsJpeg(filePath As String, Optional options As SaveAsImageOptions = Nothing)
| Type | Name | Description |
|---|---|---|
| string | filePath | The output file path. |
| SaveAsImageOptions | options | The SaveAsImageOptions object. |