    

 ## On this page

  

 

 # SpectralGetActiveWavelength 

 Last update: 17.07.2025 

## Description

Gets the active wavelengths of a spectral map. Returns 1 if no error has occurred, 0 otherwise.

## Syntax

*object*.SpectralGetActiveWavelength(VARIANT\* ovWavelengthIndex) As Short

- *object*: Virtual Photometric Lab or Virtual Human Vision Lab object
- *ovWavelengthIndex*: VARIANT of the index of the active wavelength (-1 for all)