AGI STK Esri Display 11 Send comments on this topic.
IsLicenseAvailable Method (IAgEsri3dRendererFactory)
See Also  Example





Description

Checks that the required Esri & AGI licenses are available.

Syntax

[Visual Basic .NET]
Public Function IsLicenseAvailable() As Boolean

[C#]
public bool IsLicenseAvailable();

[Managed C++]
public: bool IsLicenseAvailable();

[Java]
public bool isLicenseAvailable();

[Unmanaged C++]
public: HRESULT IsLicenseAvailable(
VARIANT_BOOL * ReturnValue
);

Return Type

Returns true if the required licenses are available.

Remarks

This method will check that both the AGI & Esri licenses required to use the GIS capabilties are present.

Example

[C#] Copy Code
AGI.STKesriDisplay.IAgEsri3dRendererFactory factory = ... 
 
if (!factory.IsLicenseAvailable()) 

    System.Windows.Forms.MessageBox.Show("You do not have the required license to use the STK GIS capabilities."); 

else 

    ... 

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1