STK UI PluginsSend comments on this topic.
OnStartup Method (IAgUiPlugin)
See Also
PluginSite
The site object provided by the hosting environment. All communications with the hosting environment happen through the site object.
Windows





Windows & Linux

Description

Initializes the UI plugin.

Syntax

[Visual Basic .NET]
Public Sub OnStartup( _
    ByVal PluginSite As IAgUiPluginSite _
)
[C#]
public void OnStartup(
    IAgUiPluginSite PluginSite
);
[Managed C++]
public: void OnStartup(
    IAgUiPluginSite ^ PluginSite
);
[Unmanaged C++]
public: HRESULT OnStartup(
    IAgUiPluginSite * PluginSite
);
[Java]
public void onStartup(
    IAgUiPluginSite PluginSite
);

Parameters

PluginSite
The site object provided by the hosting environment. All communications with the hosting environment happen through the site object.

Remarks

OnStartup method is called by the hosting environment when a User Interface plugin is loaded or activated. The hosting environment passes the site object to the plugin to allow the plugin communicate with the hosting environment.

See Also

© 2025 Analytical Graphics, Inc. All Rights Reserved.