AGI Ui Plugins 11 Send 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.





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
);

[Java]
public  onStartup(
IAgUiPluginSite PluginSite
);

[Unmanaged C++]
public: HRESULT 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

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1