[]
        
(Showing Draft Content)

GrapeCity.Documents.Html.HtmlPage.ToWebpBytes

ToWebpBytes Method

ToWebpBytes(WebpOptions)

Renders the current page to an image in WEBP format and returns it as a byte array.

Declaration
public byte[] ToWebpBytes(WebpOptions options = null)
Public Function ToWebpBytes(Optional options As WebpOptions = Nothing) As Byte()
Parameters
Type Name Description
WebpOptions options

The set of parameters for the output WEBP image.

Returns
Type Description
byte[]

The byte array with image data in WEBP format.