[]
        
(Showing Draft Content)

GrapeCity.Documents.Html.HtmlPage.ToPngBytes

ToPngBytes Method

ToPngBytes(PngOptions)

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

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

The set of parameters for the output PNG image.

Returns
Type Description
byte[]

The byte array with image data in PNG format.