    

 ## On this page

  

 

 # ExportRayFile 

 Last update: 17.07.2025 

## Description

Creates a .txt or a .dis file based on the .ray file opened.

## Syntax

*object*.ExportRayFile(LPCTSTR strFileName, float fMinWavelength, float fMaxWavelength, int iNbOfWavelength) As Short

- *strFileName*: .txt
- *strFileName*: .dis
- *fMinWavelength*: corresponds to the minimum wavelength (to be set only for a .dis file)
- *fMaxWavelength*: corresponds to the maximum wavelength (to be set only for a .dis file)
- *iNbOfWavelength*: corresponds to the number of wavelength (to be set only for a .dis file)