ESRI banner

IExportImageDialog.ShowEmbeddedForm method

Applies To: IExportImageDialog

This method embeds the Export dialog onto another window.

[Visual Basic 6.0]

variable = Object.ShowEmbeddedForm(windowHandle)

Arguments

[in] windowHandle

Long. Handle to the parent window.

Return Value

Boolean that determines the show state

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\Common Files\ESRI\Image Server\XADefs\ISViewer.ISCConfig"

  If client.Init(strConfigPath) = False Then

      MsgBox client.Status

Exit Sub

  End If

 

  Dim cService As CImageService

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

  If cService Is Nothing Then Exit Sub

 

  Dim cDialog As ImageServerClient.IExportImageDialog

  Set cDialog = cService.GetExportImageDialog()

 

  If cDialog Is Nothing Then

      MsgBox "The Image Service could not return the properties dialog."

      Exit Sub

  End If

  cDialog.ShowEmbeddedForm(Me.hWnd)

End Sub

 

Related Topics

See also: GetExportImageDialog