AGI STK Util 11 Send comments on this topic.
NewQuantity Method (IAgConversionUtility)
See Also 
Dimension
UnitAbbrv
Value





Description

Creates an IAgQuantity interface with the given dimension, unit and value

Syntax

[Visual Basic .NET]
Public Function NewQuantity( _
   ByVal Dimension As String, _
   ByVal UnitAbbrv As String, _
   ByVal Value As Double _
) As IAgQuantity

[C#]
public IAgQuantity NewQuantity(
string Dimension,
string UnitAbbrv,
double Value
);

[Managed C++]
public: IAgQuantity^ NewQuantity(
String __gc ^ Dimension,
String __gc ^ UnitAbbrv,
double Value
);

[Java]
public IAgQuantity newQuantity(
String Dimension,
String UnitAbbrv,
double Value
);

[Unmanaged C++]
public: HRESULT NewQuantity(
BSTR Dimension,
BSTR UnitAbbrv,
double Value,
IAgQuantity ** ReturnValue
);

Parameters

Dimension
UnitAbbrv
Value

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1