AGI GPS 6 Send comments on this topic.
Init Method (IAgAsGPSSatSelectPluginEngine)
See Also 
Site
The site object will be a IAgOdtkPluginSite component (when the plugin is called from within ODTK).
Windows








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

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

[VBScript]
'Function object.Init(...)  returns type Boolean
' Site is type IAgUtPluginSite (an object)
result = object.Init(Site)

[Perl]
$return_value = $objectReference->Init(# $return_value is of type int
$Site# type IAgUtPluginSite (object reference)
);

Parameters

Site
The site object will be a 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

© 2017 Analytical Graphics, Inc. All Rights Reserved.

ODTK 6.5