    

 ## On this page

  

 

 # SpectralSetActiveWavelength 

 Last update: 17.07.2025 

## Description

Sets the active wavelength of a spectral map. Returns 0 if the map is not a spectral map.

## Syntax

*object*.SpectralSetActiveWavelength(int iWavelength) As Short

- *object*: Virtual Photometric Lab object
- *iWavelength*: index of the wavelength to activate (-1 for all)