Harness proD API Help
EPLAN.Harness.API.ApiProperties Namespace / ColorProperty Class / ColorProperty Constructor / ColorProperty Constructor(Color)
The color to store in the property.
Example
In This Topic
    ColorProperty Constructor(Color)
    In This Topic
    Creates a new instance of the ColorProperty with the specified value.
    Syntax
    public ColorProperty( 
       Color color
    )

    Parameters

    color
    The color to store in the property.
    Example
    The following example shows how to create a new ColorProperty from the system-defined red color.
    ColorProperty colorProperty = new ColorProperty(Color.Red);
    See Also