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






Windows & Linux

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
MemberValueDescription
eStkGraphicsPolylineTypeLines0Every two positions define a line segment. Line segments are not required to be connected to each other.
eStkGraphicsPolylineTypeLineStrip1After the first position, each additional position defines a line segment from the previous position to the current position.
eStkGraphicsPolylineTypePoints2Lines are drawn as points.
Describes how the polyline should interpret positions passed to Set methods.

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.