See Also Examples Applies To
Displays an image or a PDF from an image file stored in a distant server.
Syntax
object.DisplayFromURL (sHost, sPath, nHTTPPort)
The DisplayFromURL syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| sHost | Required. String. The host server ex: www.gdpicture.com |
| sPath | Required. String. The image file path into the distant server ex: /images/nature.jpg |
| nHTTPPort | Optional. Long. Default value is 80. The HTTP port number used. Set 443 to use https transfert mode. |
Returns
Long. GdPictureStatus
Remarks
The GdPictureStatus constants are defined HERE
Supported image formats are PDF, BMP, DIB, RLE, ICO, EMF, WMF, GIF, ANIMATED GIF, JPEG, JPG, JPE, JFIF, PNG, TIFF, MULTIPAGE TIFF, PNM, PPM, PBM, PGM, RPPM, RPGM, RPBM, PCX.
Redistributing the optional gdimgplug.dll library you will also be able to read XPM, XBM, WBMP, TGA,
SGI, Sun RAS, PSD, MNG, Kodak PhotoCD files, KOALA files, JP2, J2K, JNG, JBIG, IFF, HDR, Raw Fax G3, EXR, DDS and Dr. Halo files.