Export

_ExportAscii, ExportAscii, ExportImageProperties

ExportAscii

Interactive command to this function: File > Import/Export > Export to ASCII

Description 

 ExportAscii(
   int  RectLeft,
   int  RectTop,
   int  RectRight,
   int  RectBottom,
   int  DataType,
   int  DataDelimiter,
   int  Density
);

This function exports the defined cutout of the current image to the clipboard in ASCII format.

Parameters

int RectLeft

Left coordinate of the rectangle for data export. Value must define valid rectangle, width and height must be eight pixels or more and rectangle must lay inside the screen.

int RectTop

Right coordinate of the rectangle for data export. Value must define valid rectangle.

int RectRight

Top coordinate of the rectangle for data export. Value must define valid rectangle.

int RectBottom

Bottom coordinate of the rectangle for data export. Value must define valid rectangle.

int DataType

Type of exported data

0

Intensities will be exported.

1

RGB values will be exported.

int DataDelimiter

Type of data delimiter.

0

Tab

1

Comma

2

Space

3

Semicolon

int Density

Every N-th pixel value can be selected for export. Values can range from 1 to 10.

Note

If you export data to MS Excel, it is recommended to use Tab as the data delimiter.

ExportImageProperties

Description 

 ExportImageProperties(
   int  ExportPages,
   int  ExportFormat,
   char *Filename
);

This function exports the selected Image Properties from the current image to a file or clipboard.

Parameters

int ExportPages

Selects which tabs from Image Properties will be exported.

1

Image Fields

2

Experiment Data

4

Recorded Data

8

Acquisition Details

16

Custom Metadata

int ExportFormat

Select whether to export to MS Excel, text file or to clipboard.

0

Export to MS Excel.

1

Export to a text file.

2

Export to clipboard.

char *Filename

The path and the name of the file.

_ExportAscii

This function runs the File > Import/Export > Export to ASCII command.

Description 

 _ExportAscii();