DdeSettings
Represents the settings for DDE (Dynamic Data Exchange) communication.
Inherits: Cloneable<DdeSettings>
Implements: IPersistable
Constructors
public DdeSettings()
ddeSettings = DdeSettings()
Initializes a new instance of the DdeSettings class with default values.
Properties
public int ColumnOffset { get; set; }
value = ddeSettings.ColumnOffset
ddeSettings.ColumnOffset = value
Gets or sets the column offset from the left top corner.
public int RowOffset { get; set; }
value = ddeSettings.RowOffset
ddeSettings.RowOffset = value
Gets or sets the row offset from the left top corner.
public string Server { get; set; }
value = ddeSettings.Server
ddeSettings.Server = value
Gets or sets the DDE server name.
public bool ShowHeaders { get; set; }
value = ddeSettings.ShowHeaders
ddeSettings.ShowHeaders = value
Gets or sets a value indicating whether header names should be displayed.
public string Topic { get; set; }
value = ddeSettings.Topic
ddeSettings.Topic = value
Gets or sets the DDE topic name (for example, "[Book1.xlsx]Sheet1").
Methods
public void Apply(DdeSettings clone)
ddeSettings.Apply(clone)
Applies the settings from the specified DdeSettings instance.
- clone
- The instance containing the new settings.
public override DdeSettings Clone()
result = ddeSettings.Clone()
Creates a deep copy of the current DdeSettings instance.
Returns: A new instance that is a deep copy of this instance.
public void Load(SettingsStorage storage)
ddeSettings.Load(storage)
Loads the settings from the provided SettingsStorage.
- storage
- The storage from which to load the settings.
public void Save(SettingsStorage storage)
ddeSettings.Save(storage)
Saves the current settings to the provided SettingsStorage.
- storage
- The storage to which the settings will be saved.