You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Saving GdPicture Image > SaveToHTTP > SaveToHTTP Method (Integer, DocumentFormat, Integer, String, String, String)
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.SaveToHTTP Method (Integer, DocumentFormat, Integer, String, String, String)

Saves a GdPicture image into a HTTP server using authentication.

C#
public GdPictureStatus SaveToHTTP(
    int ImageID, 
    DocumentFormat ImageFormat, 
    int EncoderParameter, 
    String Address, 
    String Login, 
    String Password
);
Visual Basic
Public Function SaveToHTTP(
    ByVal ImageID As Integer, 
    ByVal ImageFormat As DocumentFormat, 
    ByVal EncoderParameter As Integer, 
    ByVal Address As String, 
    ByVal Login As String, 
    ByVal Password As String
) As GdPictureStatus
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
ImageFormat 
A member of the DocumentFormat enumeration.
Currently supported format are: DocumentFormatBMP, DocumentFormatJPEG, DocumentFormatPNG, DocumentFormatTIFF, DocumentFormatGIF, DocumentFormatPDF  
EncoderParameter 
Can be jpeg quality between 1 and 100 for "jpg" image format.
Can be compression value for tif image: 6:None, 5:RLE, 4:CCITT4, 3:CCITT3, 2:LZW.
For other image format set this parameter to 0.  
Address 
Address of destination. IE: http://www.google.com/uploads/myimage.jpg  
Login 
User Login.  
Password 
User Password.  
Returns

A member of the GdPictureStatus enumeration.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.