Document Solutions for Imaging
DS.Documents.Html Assembly / GrapeCity.Documents.Html Namespace / HtmlPage Class / ToJpegBytes Method
The set of parameters for the output JPEG image.

In This Topic
    ToJpegBytes Method
    In This Topic
    Renders the current page to an image in JPEG format and returns it as a byte array.
    Syntax
    'Declaration
     
    Public Function ToJpegBytes( _
       Optional ByVal options As JpegOptions _
    ) As System.Byte()
    public System.byte[] ToJpegBytes( 
       JpegOptions options
    )

    Parameters

    options
    The set of parameters for the output JPEG image.

    Return Value

    The byte array with image data in JPEG format.
    See Also