VDS Renaissance 的界面提供多种语言。官方文档以英语维护,以确保提供统一、一致且始终最新的参考。

@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