This document is archived and information here might be outdated.  Recommended version.


IImageServer3.GetFile Method (ArcObjects .NET 10.6 SDK)
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
);
[C++]

Parameters pFile [in]
pFile is a parameter of type IImageServerDownloadResult*

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