Please enable JavaScript to view this site.

ESL Documentation

Object Inquiry Built-in Functions

Return the size of a region.

{xsize|ysize} of REGION_NAME

REGION_NAME

The identifier for a region.

Description

The values returned are the X and Y size of the specified region, expressed in the coordinates of the object's parent.

The keyword of is not required when you use these functions in a drawing statement.

Example

 

response to MoveChapRight_GR

 if (((xposition of Chapter_TR) + (xsize of Chapter_TR))

         <= (ScreenWidth_IV - StepSize_IV)) then

         ...

 end if