'Declaration
Public Overloads Function SaveDocumentToJPEG( _ ByVal Uri As String, _ ByVal Login As String, _ ByVal Password As String, _ ByVal Quality As Integer _ ) As GdPictureStatus
public GdPictureStatus SaveDocumentToJPEG( string Uri, string Login, string Password, int Quality )
public function SaveDocumentToJPEG( Uri: String; Login: String; Password: String; Quality: Integer ): GdPictureStatus;
public function SaveDocumentToJPEG( Uri : String, Login : String, Password : String, Quality : int ) : GdPictureStatus;
public: GdPictureStatus SaveDocumentToJPEG( string* Uri, string* Login, string* Password, int Quality )
public: GdPictureStatus SaveDocumentToJPEG( String^ Uri, String^ Login, String^ Password, int Quality )
Parameters
- Uri
- The full URI path with the full document name, where the resulting JPEG file will be saved, for example ftp://ftp.gdpicture.com/upload/myfile.jpg or http://www.gdpicture.com/upload/myfile.jpg.
- Login
- The login required to authenticate on the server. It can be an empty string.
- Password
- The password required to authenticate on the server. It can be an empty string.
- 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
Use the GetLastTransferError method to diagnose the error if this method has failed with one of the GdPictureStatus.Internet... errors.