AGI STK Graphics 11 Send comments on this topic.
InitializeWithType Method (IAgStkGraphicsPolylinePrimitiveFactory)
See Also 
PolylineType
Describes how the polyline should interpret positions passed to Set methods.





Description

Initializes a polyline primitive with the specified polylineType. This is equivalent to constructing a polyline with the specified polylineType and a Set Hint of Frequent.

Syntax

[Visual Basic .NET]
Public Function InitializeWithType( _
   ByVal PolylineType As AgEStkGraphicsPolylineType _
) As IAgStkGraphicsPolylinePrimitive

[Managed C++]
public: IAgStkGraphicsPolylinePrimitive^ InitializeWithType(
AgEStkGraphicsPolylineType PolylineType
);

[Unmanaged C++]
public: HRESULT InitializeWithType(
AgEStkGraphicsPolylineType PolylineType,
IAgStkGraphicsPolylinePrimitive ** ReturnValue
);

Parameters

PolylineType
Member Value Description
eStkGraphicsPolylineTypeLines 0 Every two positions define a line segment. Line segments are not required to be connected to each other.
eStkGraphicsPolylineTypeLineStrip 1 After the first position, each additional position defines a line segment from the previous position to the current position.
Describes how the polyline should interpret positions passed to Set methods.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1