STK UI PluginsSend comments on this topic.
ShowDialog Method (IAgUiPluginHtmlWindowSite)
See Also
Plugin
A User Interface plugin object.
Url
A URL of the document to display.
DialogParams
Optional parameters that can be used to specify an initial size and position of the window.
Windows





Windows & Linux

Description

Opens a modal HTML window and loads the document specified by a given URL.

Syntax

[Visual Basic .NET]
Public Function ShowDialog( _
    ByVal Plugin As IAgUiPlugin, _
    ByVal Url As String, _
    ByVal DialogParams As System.Array _
) As Integer
[C#]
public int ShowDialog(
    IAgUiPlugin Plugin,
    string Url,
    System.Array DialogParams
);
[Managed C++]
public: int ShowDialog(
    IAgUiPlugin ^ Plugin,
    String __gc ^ Url,
    System::Array ^ DialogParams
);
[Unmanaged C++]
public: HRESULT ShowDialog(
    IAgUiPlugin * Plugin,
    BSTR Url,
    SAFEARRAY * * DialogParams,
    long * pResult
);
[Java]
public int showDialog(
    IAgUiPlugin Plugin,
    String Url,
    AgSafeArray DialogParams
);

Parameters

Plugin
A User Interface plugin object.
Url
A URL of the document to display.
DialogParams
Optional parameters that can be used to specify an initial size and position of the window.

Remarks

ShowDialog method opens an HTML browser in a modal dialog and displays the contents of the document using the specified URL.

See Also

© 2025 Analytical Graphics, Inc. All Rights Reserved.