AGI STK Objects 11 Send comments on this topic.
GetCrdnByName Method (IAgVORefCrdnCollection)
See Also 
Type
Name





Description

Returns an element with the specified name and type. The method throws an exception if the element with the specified name does not exist.

Syntax

[Visual Basic .NET]
Public Function GetCrdnByName( _
   ByVal Type As AgEGeometricElemType, _
   ByVal Name As String _
) As IAgVORefCrdn

[C#]
public IAgVORefCrdn GetCrdnByName(
AgEGeometricElemType Type,
string Name
);

[Managed C++]
public: IAgVORefCrdn^ GetCrdnByName(
AgEGeometricElemType Type,
String __gc ^ Name
);

[Java]
public IAgVORefCrdn getCrdnByName(
AgEGeometricElemType Type,
String Name
);

[Unmanaged C++]
public: HRESULT GetCrdnByName(
AgEGeometricElemType Type,
BSTR Name,
IAgVORefCrdn ** ReturnValue
);

Parameters

Type
Member Value Description
eVectorElem 0 Vector geometric element.
eAxesElem 1 Axes geometric element.
eAngleElem 2 Angle geometric element.
ePointElem 3 Point geometric element.
ePlaneElem 4 Plane geometric element.
Name

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1