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

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

    Parameters

    options
    The set of parameters for the output PNG image.

    Return Value

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