Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GcBitmap Class / SaveAsJpeg Method / SaveAsJpeg(Stream,Nullable<Rectangle>,Int32) Method
The output stream.
Clipping rectangle of the image to be saved.
The image quality from 0 (best compression) to 100 (best quality).

In This Topic
    SaveAsJpeg(Stream,Nullable<Rectangle>,Int32) Method
    In This Topic
    Saves the image into a Stream in JPEG format with specified quality (from 0 to 100).
    Syntax
    'Declaration
     
    Public Overloads Sub SaveAsJpeg( _
       ByVal stream As System.IO.Stream, _
       Optional ByVal clipRect As System.Nullable(Of Rectangle), _
       Optional ByVal quality As System.Integer _
    ) 
    public void SaveAsJpeg( 
       System.IO.Stream stream,
       System.Nullable<Rectangle> clipRect,
       System.int quality
    )

    Parameters

    stream
    The output stream.
    clipRect
    Clipping rectangle of the image to be saved.
    quality
    The image quality from 0 (best compression) to 100 (best quality).
    See Also