RenderToPng(Stream,PngSettings) Method
Creates a PNG image from the source HTML and saves it to a specified stream.
public System.bool RenderToPng(
System.IO.Stream ,
PngSettings
)
'Declaration
Public Overloads Function RenderToPng( _
ByVal As System.IO.Stream, _
Optional ByVal As PngSettings _
) As System.Boolean
Parameters
- outputStream
- The destination stream.
- settings
- The set of parameters for the output image.
Return Value
True if PNG was successfully saved; otherwise, false.