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

    Parameters

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