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

    Parameters

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