[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Page.SaveAsBmp

SaveAsBmp Method

SaveAsBmp(Stream, ViewState, SaveAsImageOptions)

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

Declaration
public void SaveAsBmp(Stream stream, ViewState viewState, SaveAsImageOptions options = null)
Public Sub SaveAsBmp(stream As Stream, viewState As ViewState, Optional options As SaveAsImageOptions = Nothing)
Parameters
Type Name Description
Stream stream

The output stream.

ViewState viewState

The document view state.

SaveAsImageOptions options

The SaveAsImageOptions object.

SaveAsBmp(Stream, SaveAsImageOptions)

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

Declaration
public void SaveAsBmp(Stream stream, SaveAsImageOptions options = null)
Public Sub SaveAsBmp(stream As Stream, Optional options As SaveAsImageOptions = Nothing)
Parameters
Type Name Description
Stream stream

The output stream.

SaveAsImageOptions options

The SaveAsImageOptions object.

SaveAsBmp(string, ViewState, SaveAsImageOptions)

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

Declaration
public void SaveAsBmp(string filePath, ViewState viewState, SaveAsImageOptions options = null)
Public Sub SaveAsBmp(filePath As String, viewState As ViewState, Optional options As SaveAsImageOptions = Nothing)
Parameters
Type Name Description
string filePath

The output file path.

ViewState viewState

The document view state.

SaveAsImageOptions options

The SaveAsImageOptions object.

SaveAsBmp(string, SaveAsImageOptions)

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

Declaration
public void SaveAsBmp(string filePath, SaveAsImageOptions options = null)
Public Sub SaveAsBmp(filePath As String, Optional options As SaveAsImageOptions = Nothing)
Parameters
Type Name Description
string filePath

The output file path.

SaveAsImageOptions options

The SaveAsImageOptions object.