IImageService.GetServicePropertiesDialog method

Applies To: IImageService

Displays a modal properties page which provides the user with the option of either viewing or setting the additional properties of an image service.

[Visual Basic 6.0]

variable = Object.GetServicePropertiesDialog()

Return Value

A reference to an object that implements IServicePropertiesDialog.

Requirements

Platform

32 bit Windows OS (WinXP)

Environment

.NET Framework, COM, ANSI C / C++ Standard compliant

Dependency

ESRI.ImageServer.ISClient.dll (.NET Framework), ISClient.dll (COM/C++), ISClientC.dll (C/C++)

Include

isclientc.h (ANSI C)

Example

[Visual Basic 6.0]

Private Sub Form1_Load()

   Dim client As New CClientObject

   Dim strConfigPath As String

   strConfigPath = "c:\Program Files\ArcGIS\ImageServer10.0\XADefs\ISViewer.ISCConfig"

   If client.Init(strConfigPath) = False Then

      MsgBox client.Status

   End If

 

   Dim cService As CImageService

   Set cService = client.OpenImageService("ImageService://hawkings:10000/Dxb_Tif", "")

 

   Dim iDialog As ImageServerClient.IServicePropertiesDialog

   Set iDialog = cService.GetServicePropertiesDialog()

End Sub

For a detailed example, please see the ISViewer Sample in VB 6.0 or the Client Application Sample in ANSI C in [ArcGIS Image Server installation folder]\Developer Kit\Client Applications\Samples\ folder.