> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ExportTXT

## Description

Saves the map data in a Text file. Returns a value different from 0 if no error has occurred.

To export extended and spectral maps as a text file, refer to [ExtendedExportTXT](https://developer.synopsys.com/docs/speos/speos-labs-automation/virtual_photometric_lab/extended_and_spectral_map/labvp_extendedexporttxt.md).

## Syntax

*object*.ExportTXT(BSTR bstrFileName) As Short

* *object*: Virtual Photometric Lab object
* *bstrFileName*: filename to save the image
