'Declaration
Public Overloads Function SaveDocumentToJPEG( _ ByVal Stream As Stream, _ ByVal Quality As Integer _ ) As GdPictureStatus
public GdPictureStatus SaveDocumentToJPEG( Stream Stream, int Quality )
public function SaveDocumentToJPEG( Stream: Stream; Quality: Integer ): GdPictureStatus;
public function SaveDocumentToJPEG( Stream : Stream, Quality : int ) : GdPictureStatus;
public: GdPictureStatus SaveDocumentToJPEG( Stream* Stream, int Quality )
public: GdPictureStatus SaveDocumentToJPEG( Stream^ Stream, int Quality )
Parameters
- Stream
- A System.IO.Stream object where the resulting JPEG file will be saved to. This Stream object must be initialized before it can be sent into this method and it should remain open for subsequent use.
- 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.