Eplan Platform API
Eplan.EplApi.Base Namespace / Settings Class / GetDoubleSetting Method
Indicates the path of the setting.
Indicates the index.

In This Topic
    GetDoubleSetting Method (Settings)
    In This Topic
    Returns the value of a setting. If a setting is read that has no value for this index, the default value is returned. The index starts at 0.
    Syntax
    public virtual double GetDoubleSetting( 
       string strSettingPath,
       int nIdx
    )
    public:
    virtual double GetDoubleSetting( 
       String^ strSettingPath,
       int nIdx
    ) 

    Parameters

    strSettingPath
    Indicates the path of the setting.
    nIdx
    Indicates the index.

    Return Value

    Returns the value of the setting.
    Exceptions
    ExceptionDescription
    The setting is not defined.
    Thrown when strSettingPath is null.
    Thrown when strSettingPath is empty.
    Thrown when setting path dosn't exist.
    Remarks
    Warning: double values are stored with precision to 15 digits only!
    See Also