STK ObjectsSend comments on this topic.
GetAvailableReferences Method (IAgAccessCnstrAWBCollection)
See Also
Type
Windows





Windows & Linux

Description

Returns an array of available References.

Syntax

[Visual Basic .NET]
Public Function GetAvailableReferences( _
    ByVal Type As AgEAWBAccessConstraints _
) As System.Array
[C#]
public System.Array GetAvailableReferences(
    AgEAWBAccessConstraints Type
);
[Managed C++]
public: System::Array GetAvailableReferences(
    AgEAWBAccessConstraints Type
);
[Unmanaged C++]
public: HRESULT GetAvailableReferences(
    AgEAWBAccessConstraints Type,
    SAFEARRAY * * ppRetVal
);
[Java]
public AgSafeArray getAvailableReferences(
    AgEAWBAccessConstraints Type
);
[Python - STK API ]
def GetAvailableReferences(self, Type:"AgEAWBAccessConstraints") -> list:

Parameters

Type

See Also

Example

List all available references for analysis workbench access constraint type
[C#]
IAgAccessCnstrAWBCollection awbaccessconstraints = stkobject.AccessConstraints.AWBConstraints;
foreach (string availableReference in awbaccessconstraints.GetAvailableReferences(AgEAWBAccessConstraints.eCstrAWBAngle) )
{
    Console.WriteLine("Available Reference: {0}", availableReference);
}
List all available references for analysis workbench access constraint type
[Visual Basic .NET]
Dim awbaccessconstraints As IAgAccessCnstrAWBCollection = stkobject.AccessConstraints.AWBConstraints
For Each availableReference As String In awbaccessconstraints.GetAvailableReferences(AgEAWBAccessConstraints.eCstrAWBAngle)
	Console.WriteLine("Available Reference: {0}", availableReference)
Next
© 2024 Analytical Graphics, Inc. All Rights Reserved.