Harness proD API Help
EPLAN.Harness.API.ApiProperties Namespace / ForceProperty Class / ForceProperty Constructor / ForceProperty Constructor(Double,Unit)
The value of force.
The unit of force value.
Example
In This Topic
    ForceProperty Constructor(Double,Unit)
    In This Topic
    Creates a new instance of the ForceProperty with the specified value and unit.
    Syntax
    public ForceProperty( 
       double value,
       Unit unit
    )

    Parameters

    value
    The value of force.
    unit
    The unit of force value.
    Exceptions
    ExceptionDescription
    Thrown when the unit is not valid for this property.
    Example
    The following example shows how to create a new ForceProperty.
    ForceProperty forceProperty = new ForceProperty(42.0, Unit.Newton);
    See Also