AGI STK X 11Send comments on this topic.
IsFeatureAvailable Method (AgSTKXApplication)
See Also
FeatureCode
The feature to be checked.
Windows






Windows & Linux

Description

Returns true if the specified feature is available.

Syntax

[Visual Basic .NET]
Public Function IsFeatureAvailable( _
    ByVal FeatureCode As AgEFeatureCodes _
) As Boolean
[C#]
public bool IsFeatureAvailable(
    AgEFeatureCodes FeatureCode
);
[Managed C++]
public: bool IsFeatureAvailable(
    AgEFeatureCodes FeatureCode
);
[Java]
public bool isFeatureAvailable(
    AgEFeatureCodes FeatureCode
);
[Unmanaged C++]
public: HRESULT IsFeatureAvailable(
    AgEFeatureCodes FeatureCode,
    VARIANT_BOOL * pRetVal
);

Parameters

FeatureCode
The feature to be checked.

See Also

Example

[Visual Basic .NET]
Dim stkxApp As AGI.STKX.AgSTKXApplication
Dim oType As Type = Type.GetTypeFromProgID("STKX11.Application")
stkxApp = Activator.CreateInstance(oType)

If (stkxApp.IsFeatureAvailable(AGI.STKX.AgEFeatureCodes.eFeatureCodeEngineRuntime) = True) Then
.....
End If
© 2019 Analytical Graphics, Inc. All Rights Reserved.