'Declaration
Public Overloads Function DisplayFromHTTP( _ ByVal Host As String, _ ByVal Path As String, _ ByVal HTTPPort As Integer _ ) As GdPictureStatus
public GdPictureStatus DisplayFromHTTP( string Host, string Path, int HTTPPort )
public function DisplayFromHTTP( Host: String; Path: String; HTTPPort: Integer ): GdPictureStatus;
public function DisplayFromHTTP( Host : String, Path : String, HTTPPort : int ) : GdPictureStatus;
public: GdPictureStatus DisplayFromHTTP( string* Host, string* Path, int HTTPPort )
public: GdPictureStatus DisplayFromHTTP( String^ Host, String^ Path, int HTTPPort )
Parameters
- Host
- The name of the host server, where the file is located, for example http://www.gdpicture.com.
- Path
- The file path on the host server for the document to display, for example /demo/image.jpg.
- HTTPPort
- The HTTP port number used. It is usually 80 for usage of the HTTP or 443 for usage of the HTTPS transfer mode.
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.
Use the GetLastTransferError method to diagnose the error if this method has failed with one of the GdPictureStatus.Internet... errors.