AGI STK Graphics 11 Send comments on this topic.
AddRangeToFront Method (IAgStkGraphicsPathPrimitive)
See Also  Example
Positions
An array containing positions (in the order x, y, z) to add to the front of the path.





Description

Add the range of PathPoints to the front of the line.

Syntax

[Visual Basic .NET]
Public Sub AddRangeToFront( _
   ByRef Positions As System.Array _
) 

[C#]
public void AddRangeToFront(
ref System.Array Positions
);

[Managed C++]
public: void AddRangeToFront(
System::Array ^^ Positions
);

[Java]
public  addRangeToFront(
Object[] Positions
);

[Unmanaged C++]
public: HRESULT AddRangeToFront(
SAFEARRAY ** Positions
);

Parameters

Positions
An array containing positions (in the order x, y, z) to add to the front of the path.

Example

Shows the format of the Positions parameter when adding points to a path primitive.
[C#] Copy Code
Array positions = new object[] 

    000
    111
    222
    333
    444 
}; 
 
path.AddRangeToFront(ref positions); 
 

Shows the format of the Positions parameter when adding points to a path primitive.
[Visual Basic .NET] Copy Code
Dim positions As Array = New Object() {0, 0, 0, 1, 1, 1, _
    2, 2, 2, 3, 3, 3, _
    4, 4, 4}

path.AddRangeToFront(positions)

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1