CreateGdPictureImageFromHTTP(String,String,String) Method
Creates a new GdPicture image from an image file stored on a distant server using HTTP protocol according to what you have specified. The newly created image is identified by its unique non-zero image identifier.
Please note that it is your responsibility to release the image resources once you have no use for them.
'Declaration
Public Overloads Function CreateGdPictureImageFromHTTP( _
ByVal As String, _
ByVal As String, _
ByVal As String _
) As Integer
public int CreateGdPictureImageFromHTTP(
string ,
string ,
string
)
public function CreateGdPictureImageFromHTTP(
: String;
: String;
: String
): Integer;
public function CreateGdPictureImageFromHTTP(
: String,
: String,
: String
) : int;
public: int CreateGdPictureImageFromHTTP(
string* ,
string* ,
string*
)
public:
int CreateGdPictureImageFromHTTP(
String^ ,
String^ ,
String^
)
Parameters
- Uri
- The full URI path with the full image file name, where the file is located, for example http://www.gdpicture.com/demo/image.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.
Return Value
A unique image identifier of the GdPicture image representing the newly created image. The returned value is non-zero if the image is successfully created. Please first of all use the
GdPictureImaging.GetStat method to determine if this method has been successful.
Use the GdPictureImaging.GetLastTransferError method to diagnose the error if this method has failed with one of the GdPictureStatus.Internet... errors.
Be aware that you need to release the image with the GdPictureImaging.ReleaseGdPictureImage method after being used.