Harness proD API Help
EPLAN.Harness.API.ApiProperties Namespace / PropertyValue Class / Implicit Type Conversion Operator / Implicit Type Conversion(Color,PropertyValue) Operator
Value to convert.
Example
In This Topic
    Implicit Type Conversion(Color,PropertyValue) Operator
    In This Topic
    Implicit conversion from PropertyValue to System.Drawing.Color.
    Syntax
    public Color operator implicit( 
       PropertyValue propertyValue
    )

    Parameters

    propertyValue
    Value to convert.

    Return Value

    Remarks
    Use only for a PropertyValue which stores a color value! In case of null input returns default(Color) (Color.Empty).
    Example
    PropertyValue propValue = new PropertyValue(Color.Red);
    Color result = propValue;
    See Also