'Declaration
Public Overloads Function SaveDocumentToJPEG( _ ByVal FilePath As String, _ ByVal Quality As Integer _ ) As GdPictureStatus
public GdPictureStatus SaveDocumentToJPEG( string FilePath, int Quality )
public function SaveDocumentToJPEG( FilePath: String; Quality: Integer ): GdPictureStatus;
public function SaveDocumentToJPEG( FilePath : String, Quality : int ) : GdPictureStatus;
public: GdPictureStatus SaveDocumentToJPEG( string* FilePath, int Quality )
public: GdPictureStatus SaveDocumentToJPEG( String^ FilePath, int Quality )
Parameters
- FilePath
- The file path including the full document name, where the resulting JPEG file will be saved.
- Quality
- The compression quality level from 0 to 100 to be used to compress the resulting JPEG file. 0 means worse quality and better compression, 100 means the best quality and worse compression.
Return Value
A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.
We strongly recommend always checking this status first.