Description Gets the name of the spectrum node being queried. If the node number is invalid, an error is set and the operation is halted.
Syntax spectName = SpectrumGetName( spectNode )
Parameters spectName (String) Name of the spectrum node being queried.
spectNode As Long Node number of the spectrum being queried.
Example The following example gets the maximum node number of all spectra in the document and then retrieves and prints the spectrum's name.
maxNode = SpectrumGetMaxNodeNum( ) Print SpectrumGetName( maxNode )
See Also SpectrumComputeLuminousEfficacy
|