AGI AgAsHpopPlugin 11 Send comments on this topic.
Init Method (IAgAsHpopPlugin)
See Also 
Site
The site object will either be a IAgStkPluginSite component (when the plugin is called from within STK), an IAgGatorPluginSite (when the plugin is called from within Astrogator) or an IAgOdtkPluginSite component (when the plugin is called from within ODTK).





Description

Triggered when the plugin is initialized to allow for any additional needed initialization. Must return true to turn on use of plugin.

Syntax

[Visual Basic .NET]
Public Function Init( _
   ByVal Site As IAgUtPluginSite _
) As Boolean

[C#]
public bool Init(
IAgUtPluginSite Site
);

[Managed C++]
public: bool Init(
IAgUtPluginSite ^ Site
);

[Java]
public bool init(
IAgUtPluginSite Site
);

[Unmanaged C++]
public: HRESULT Init(
IAgUtPluginSite * Site,
VARIANT_BOOL * ReturnValue
);

Parameters

Site
The site object will either be a IAgStkPluginSite component (when the plugin is called from within STK), an IAgGatorPluginSite (when the plugin is called from within Astrogator) or an IAgOdtkPluginSite component (when the plugin is called from within ODTK).

Return Type

Return true to indicate success, false to indicate failure. If false is returned, no method of the plugin will be called.

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1