Document Solutions for Imaging
GrapeCity.Documents.Html / GrapeCity.Documents.Html Namespace / HtmlPage Class / ToWebpBytes Method
The set of parameters for the output WEBP image.

In This Topic
    ToWebpBytes Method
    In This Topic
    Renders the current page to an image in WEBP format and returns it as a byte array.
    Syntax
    'Declaration
     
    Public Function ToWebpBytes( _
       Optional ByVal options As WebpOptions _
    ) As System.Byte()
    public System.byte[] ToWebpBytes( 
       WebpOptions options
    )

    Parameters

    options
    The set of parameters for the output WEBP image.

    Return Value

    The byte array with image data in WEBP format.
    See Also