<<

Contents

Search

>>

 

GET_IMAGE_HEIGHT

 

 

Function

 

 

Syntax:

GET_IMAGE_HEIGHT(<Image Name>[,<Get From Server>])

 

<Image Name>

= <STRING-EXPRESSION>

<Get From Server>

= <NUM-EXPRESSION>

 

 

Meaning:

Returns the height of an image in pixel.

 

GET_IMAGE_HEIGHT returns –1, if  <Image Name> is invalid or the height could not be computed.

 

Parameter:

Image Name

Name of image

Get From Server

Specifies with 2T-programs if the image is to be loaded by the Server or the Client. Normally the images used in the program are included in <Programname>_Client.jar and are loaded by the Client. If <Get From Server> = 1, the image is loaded by the Server and transferred to the Client.

 

Sample:

HEIGHT% = GET_IMAGE_HEIGHT("Photo.gif")

 

See also:

GET_IMAGE_WIDTH

LOAD_PICTURE