[]
        
(Showing Draft Content)

GrapeCity.Documents.Html.HtmlPage.SaveAsWebp

SaveAsWebp Method

SaveAsWebp(string, WebpOptions)

Saves the current page as a WEBP image file.

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

The destination file path.

WebpOptions options

The set of parameters for the output WEBP image.

SaveAsWebp(Stream, WebpOptions)

Saves the current page to a stream in WEBP format.

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

The destination stream.

WebpOptions options

The set of parameters for the output WEBP image.