DoublePreferences Object

This object provides access to Merge preferences that are represented by floating point numbers. Use the (default) Item property to get and set these preferences.

Properties

Itemread/writeIDoublePreferences

Provides access to the specified preference double.

IDL [propget] HRESULT Item(
    [in] VARIANT index,
    [out, retval] double* pValue)
[propput] HRESULT Item(
    [in] VARIANT index,
    [in] double newValue)
.NET Double get_Item(
    Object index)
void set_Item(
    Object index, Double newValue)
VB6 Item(
    index As Variant) As Double
  • index
    The index of the preference item of interest. The index can be either a numeric value from the ConfigDouble enumeration, or a string version of the value (for example, “cdFolderLeftMargin”). You can use the latter from scripting languages that do not have access to the symbolic enumeration constants.

Methods

SetIDoublePreferences

Sets the value of the specified preference item. This method is provided for use by scripting languages that are unable to use the Item property.

IDL HRESULT Set(
    [in] VARIANT index,
    [in] double newValue)
.NET void Set(
    Object index,
    Double newValue)
VB6 Set(
    index As Variant,
    newValue As Double)
  • index
    The index of the preference item of interest. The index can be either a numeric value from the ConfigDouble enumeration, or a string version of the value (for example, “cdFolderLeftMargin”). You can use the latter from scripting languages that do not have access to the symbolic enumeration constants.
  • newValue
    The new value of the preference item.