Document Solutions for PDF
DS.Documents.Html Assembly / GrapeCity.Documents.Html Namespace / GcHtmlRenderer Class / RenderToJpeg Method / RenderToJpeg(Stream,JpegSettings) Method
The destination stream.
The set of parameters for the output image.

In This Topic
    RenderToJpeg(Stream,JpegSettings) Method
    In This Topic
    Creates a JPEG image from the source HTML and saves it to a specified stream.
    Syntax
    'Declaration
     
    Public Overloads Function RenderToJpeg( _
       ByVal outputStream As System.IO.Stream, _
       Optional ByVal settings As JpegSettings _
    ) As System.Boolean
    public System.bool RenderToJpeg( 
       System.IO.Stream outputStream,
       JpegSettings settings
    )

    Parameters

    outputStream
    The destination stream.
    settings
    The set of parameters for the output image.

    Return Value

    True if JPEG was successfully saved; otherwise, false.
    See Also