STK Vector Geometry ToolSend comments on this topic.
IsTypeSupported Method (IAgCrdnSystemFactory)
See Also
Type
A system type.
Windows





Windows & Linux

Description

Returns true if the specified system type is supported.

Syntax

[Visual Basic .NET]
Public Function IsTypeSupported( _
    ByVal Type As AgECrdnSystemType _
) As Boolean
[C#]
public bool IsTypeSupported(
    AgECrdnSystemType Type
);
[Managed C++]
public: bool IsTypeSupported(
    AgECrdnSystemType Type
);
[Unmanaged C++]
public: HRESULT IsTypeSupported(
    AgECrdnSystemType Type,
    VARIANT_BOOL * pRetVal
);
[Java]
public bool isTypeSupported(
    AgECrdnSystemType Type
);
[Python - STK API ]
def IsTypeSupported(self, Type:"AgECrdnSystemType") -> bool:

Parameters

Type
A system type.

See Also

Example

Determine if the specified System type is supported.
[C#]
// Check if the specified system type is supported.
if (provider.Systems.Factory.IsTypeSupported(SystemType))
{
    //Create a System with supported Type
    IAgCrdnSystem system = provider.Systems.Factory.Create("SystemName",
        string.Empty, SystemType);
}
Determine if the specified System type is supported.
[Visual Basic .NET]
' Check if the specified system type is supported.
If provider.Systems.Factory.IsTypeSupported(SystemType) Then
	'Create a System with supported Type
	Dim system As IAgCrdnSystem = provider.Systems.Factory.Create("SystemName", String.Empty, SystemType)
End If
© 2024 Analytical Graphics, Inc. All Rights Reserved.