STK Vector Geometry ToolSend comments on this topic.
IsTypeSupported Method (IAgCrdnPlaneFactory)
See Also
Type
Specify a VGT plane type.
Windows





Windows & Linux

Description

Returns true if the type is supported.

Syntax

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

Parameters

Type
Specify a VGT plane type.

See Also

Example

Determine if the specified plane type is supported.
[C#]
// Check if the specified plane type is supported.
if (provider.Planes.Factory.IsTypeSupported(planeType))
{
    IAgCrdnPlane p = provider.Planes.Factory.Create(
        "PlaneName", string.Empty,
        planeType);
}
Determine if the specified plane type is supported.
[Visual Basic .NET]
' Check if the specified plane type is supported.
If provider.Planes.Factory.IsTypeSupported(planeType) Then
	Dim p As IAgCrdnPlane = provider.Planes.Factory.Create("PlaneName", String.Empty, planeType)
End If
© 2024 Analytical Graphics, Inc. All Rights Reserved.