Harness proD API Help
EPLAN.Harness.API.ApiProperties Namespace / AreaProperty Class / Implicit Type Conversion Operator
Text form of area to store in the property.
Example
In This Topic
    Implicit Type Conversion Operator (AreaProperty)
    In This Topic
    Implicit conversion from System.String to AreaProperty.
    Syntax
    public AreaProperty operator implicit( 
       string value
    )

    Parameters

    value
    Text form of area to store in the property.

    Return Value

    New AreaProperty created from the given System.String value.
    Example
    The following example shows how to convert a string to an AreaProperty.
    AreaProperty areaProperty1 = "42 m2";
    AreaProperty areaProperty2 = "42m2";
    AreaProperty areaProperty3 = "42";
    // Unit of areaProperty3 depends on Harness proD settings!
    See Also