Renders the current page to an image in PNG format and returns it as a byte array.
'Declaration
Public Function ToPngBytes( _
Optional ByVal As PngOptions _
) As System.Byte()
Parameters
- options
- The set of parameters for the output PNG image.
Return Value
The byte array with image data in PNG format.