[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Page.SaveAsGif

SaveAsGif Method

SaveAsGif(Stream, ViewState, SaveAsImageOptions)

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

Declaration
public void SaveAsGif(Stream stream, ViewState viewState, SaveAsImageOptions options = null)
Public Sub SaveAsGif(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.

SaveAsGif(Stream, SaveAsImageOptions)

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

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

The output stream.

SaveAsImageOptions options

The SaveAsImageOptions object.

SaveAsGif(string, ViewState, SaveAsImageOptions)

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

Declaration
public void SaveAsGif(string filePath, ViewState viewState, SaveAsImageOptions options = null)
Public Sub SaveAsGif(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.

SaveAsGif(string, SaveAsImageOptions)

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

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

The output file path.

SaveAsImageOptions options

The SaveAsImageOptions object.