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





Windows & Linux

Description

Returns true if the type is supported.

Syntax

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

Parameters

Type
Specify a point type.

See Also

Example

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