Harness proD API Help
EPLAN.Harness.API.ApiProperties Namespace / PercentProperty Class / PercentProperty Constructor / PercentProperty Constructor(String)
The value of percentage as a string.
Example
In This Topic
    PercentProperty Constructor(String)
    In This Topic
    Creates a new instance of the PercentProperty from the specified string value.
    Syntax
    public PercentProperty( 
       string value
    )

    Parameters

    value
    The value of percentage as a string.
    Exceptions
    ExceptionDescription
    Thrown when the specified unit is not valid for this property.
    Example
    The following example shows how to create a new PercentProperty.
    PercentProperty percentProperty = new PercentProperty("42 %");
    See Also