L’interface de VDS Renaissance est disponible en plusieurs langues. La documentation officielle est maintenue en anglais afin de garantir une référence unique, cohérente et toujours à jour.

@IMAGE

Windows Linux macOS

Syntax

@IMAGE(<element name>, SIZE)

@IMAGE(<element name>, DEPTH)

@IMAGE(TRANSITIONS)

Requires

EXTERNAL VDSIMG60.DLL

#DEFINE FUNCTION,IMAGE

Description

This function returns information about the bitmap image displayed in the IMAGE dialog element <element name>. The options are:

SIZE Returns the width and height of the image. The two values are separated by a vertical bar '|' character. These values are not the same as the width and height obtained using the @DLGPOS function, which returns the size of the dialog element itself not that of the bitmap.
DEPTH Returns the color depth, or number of bits per pixel, of the image. This function is not supported for icons.

The @IMAGE(TRANSITIONS) function returns a string containing a list of all the supported image transitions, separated by carriage returns. This list may be assigned to a string list. The index of each item in the list corresponds to the transition type number that is used in the IMAGE command.

OK

Unchanged.

See also