Method GetSpectrumPreset
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
GetSpectrumPreset(string)
Gets an object that can be used to change the specified preset.
public virtual SpectrumPreset GetSpectrumPreset(string name)
Parameters
name
stringThe preset name.
Returns
- SpectrumPreset
An object that can be used to change the specified preset.
Examples
Element element = engine.FindElement(400, 2000);
var preset = element.GetSpectrumPreset("Preset 1");
Remarks
Only shared presets can be opened.
Exceptions
- DataMinerException
The element is not active.
-or-
The specified preset failed to load.