Harness proD API Help
EPLAN.Harness.API.ApiProperties Namespace / ColorProperty Class / Implicit Type Conversion Operator / Implicit Type Conversion(ColorProperty,Color) Operator
System.Drawing.Color to store in the property.
Example
In This Topic
    Implicit Type Conversion(ColorProperty,Color) Operator
    In This Topic
    Implicit conversion from System.Drawing.Color to ColorProperty.
    Syntax
    public ColorProperty operator implicit( 
       Color color
    )

    Parameters

    color
    System.Drawing.Color to store in the property.

    Return Value

    New ColorProperty created from the given System.Drawing.Color value.
    Example
    The following example shows how to convert a Color to a ColorProperty.
    ColorProperty colorProperty = Color.Blue;
    See Also