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 Variant _
) 

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[] 

    0, 0, 0, 
    1, 1, 1, 
    2, 2, 2, 
    3, 3, 3, 
    4, 4, 4 
}; 
 
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 Analytical Graphics, Inc. All Rights Reserved.

STK 11.1 Programming Interface