Documents for Imaging .NET Edition | GCDocuments
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GcBitmap Class / SaveAsJpeg Method / SaveAsJpeg(String,Nullable<Rectangle>,Int32) Method
The output file path.
Clipping rectangle of the image to be saved.
The image quality from 0 (best compression) to 100 (best quality).

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

    Parameters

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