[]
        
(Showing Draft Content)

GrapeCity.Documents.Html.HtmlPage.ToJpegBytes

ToJpegBytes Method

ToJpegBytes(JpegOptions)

Renders the current page to an image in JPEG format and returns it as a byte array.

Declaration
public byte[] ToJpegBytes(JpegOptions options = null)
Public Function ToJpegBytes(Optional options As JpegOptions = Nothing) As Byte()
Parameters
Type Name Description
JpegOptions options

The set of parameters for the output JPEG image.

Returns
Type Description
byte[]

The byte array with image data in JPEG format.