AGI STK Graphics 11 Send comments on this topic.
InitializeWithCapacity Method (IAgStkGraphicsPathPrimitiveFactory)
See Also 
Capacity
Sets the initial capacity for the buffer containing positions. Setting the capacity reserves memory so the addition of points is more efficient.





Description

Initializes a path primitive with the specified capacity.

Syntax

[Visual Basic .NET]
Public Function InitializeWithCapacity( _
   ByVal Capacity As Integer _
) As IAgStkGraphicsPathPrimitive

[C#]
public IAgStkGraphicsPathPrimitive InitializeWithCapacity(
int Capacity
);

[Managed C++]
public: IAgStkGraphicsPathPrimitive^ InitializeWithCapacity(
int Capacity
);

[Java]
public IAgStkGraphicsPathPrimitive initializeWithCapacity(
ppInteger Capacity
);

[Unmanaged C++]
public: HRESULT InitializeWithCapacity(
int Capacity,
IAgStkGraphicsPathPrimitive ** ReturnValue
);

Parameters

Capacity
Sets the initial capacity for the buffer containing positions. Setting the capacity reserves memory so the addition of points is more efficient.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1