STK UI PluginsSend comments on this topic.
NewWindow 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. Not currently used.
Windows





Windows & Linux

Description

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

Syntax

[Visual Basic .NET]
Public Function NewWindow( _
    ByVal Plugin As IAgUiPlugin, _
    ByVal Url As String, _
    ByVal DialogParams As System.Array _
) As IAgUiWindow
[C#]
public IAgUiWindow NewWindow(
    IAgUiPlugin Plugin,
    string Url,
    System.Array DialogParams
);
[Managed C++]
public: IAgUiWindow^ NewWindow(
    IAgUiPlugin ^ Plugin,
    String __gc ^ Url,
    System::Array ^ DialogParams
);
[Unmanaged C++]
public: HRESULT NewWindow(
    IAgUiPlugin * Plugin,
    BSTR Url,
    SAFEARRAY * * DialogParams,
    IAgUiWindow ** ppWindow
);
[Java]
public IAgUiWindow newWindow(
    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. Not currently used.

Remarks

NewWindow method opens an HTML browser embedded inside the hosting environment and displays the contents of the document using the specified URL.

See Also

© 2025 Analytical Graphics, Inc. All Rights Reserved.