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

    Parameters

    value
    Text form of length to store in the property.

    Return Value

    New LengthProperty created from the given System.String value.
    Example
    LengthProperty lengthProperty1 = "42 m";
    LengthProperty lengthProperty2 = "42m";
    LengthProperty lengthProperty3 = "42";
    // Unit of lengthProperty3 depends on Harness proD settings!
    
    LengthProperty lengthProperty4 = "23 - 42 m";
    LengthProperty lengthProperty5 = "23 ~ 42 m";
    See Also