STK UtilSend comments on this topic.
NewQuantity Method (IAgConversionUtility)
See Also
Dimension
UnitAbbrv
Value
Windows





Windows & Linux

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
);
[Unmanaged C++]
public: HRESULT NewQuantity(
    BSTR Dimension,
    BSTR UnitAbbrv,
    double Value,
    IAgQuantity ** ppQuantity
);
[Java]
public IAgQuantity newQuantity(
    String Dimension,
    String UnitAbbrv,
    double Value
);
[Python - STK API ]
def NewQuantity(self, Dimension:str, UnitAbbrv:str, Value:float) -> "IAgQuantity":

Parameters

Dimension
UnitAbbrv
Value

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.