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