ArcObjects Library Reference (Carto)  

IImageServer3.GetFile Method

Get the URL to a given download result.

[Visual Basic .NET]
Public Function GetFile ( _
    ByVal pFile As IImageServerDownloadResult _
) As String
[C#]
public string GetFile (
    IImageServerDownloadResult pFile
);
[C++]
HRESULT GetFile(
  IImageServerDownloadResult* pFile,
  BSTR* pURL
);
[C++]

Parameters

pFile [in]

  pFile is a parameter of type IImageServerDownloadResult

pURL [out, retval]   pURL is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

GetFile() prepares a downloadable file that is only known to the image service and returns a public URL (e.g. http:// or ftp://).

See Also

IImageServer3 Interface

.NET Related Topics

How to download images from an image service