You are here: GdPicture.NET > Documentation > Classes > GdViewer Class > GdViewer Methods > Loading Documents (Image, PDF & Metafile) > DisplayFromHTTP Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdViewer.DisplayFromHTTP Method

Displays a document from a file stored in a distant server using FTP.

C#
public GdPictureStatus DisplayFromHTTP(
    String Host, 
    String Path, 
    int HTTPPort
);
Visual Basic
Public Function DisplayFromHTTP(
    ByVal Host As String, 
    ByVal Path As String, 
    ByVal HTTPPort As Integer
) As GdPictureStatus
Parameters
Parameters 
Description 
Host 
The host server. IE: www.gdpicture.com  
Path 
The image file path into the distant server. IE: /images/nature.jpg  
HTTPPort 
The HTTP port number used. Usually 80 or 443 to use https transfert mode.  
Returns

A member of the GdPictureStatus enumeration.

Supported formats are PDF, RAW, PICT, PDF, BMP, DIB, RLE, ICO, EMF, WMF, GIF, ANIMATED GIF, JPEG, JPG, JPE, JFIF, PNG, TIFF, MULTIPAGE TIFF, PNM, PPM, PBM, PGM, PFM, RPPM, RPGM, RPBM, PCX, 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.

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