Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter TenGraphic and Image Functions (continued)

ImageExport Function

Overview

The ImageExport function exports an image with default settings based on the file extension.

Syntax/Parameters

Syntax

int = ImageExport ( handle hImage, string filename );

Parameters

hImage

A handle to an Image Object.

filename

A string containing a fully qualified filename with path. The file extension determines the image type.

Return Value

Returns an int value as ERROR_NONE or a formatted error code.

Remarks

This function will use the default settings to save the image. Use the specific export functions to change the image properties as the data is exported. If the file extension supplied in the filename parameter is unknown or not supported, the ImageExport function will fail.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic