DR GET AREA BOUNDARY

4D - Documentation   Français   English   German   4D Draw 2004, Command Theme List   4D Draw 2004, Command Alphabetical List   Back   Previous   Next

version 6.0


DR GET AREA BOUNDARY (area; left; top; right; bottom)

ParameterTypeDescription
areaLongint4D Draw area
leftNumberLeft boundary of area
topNumberTop boundary of area
rightNumberRight boundary of area
bottomNumberBottom boundary of area

Description

The command DR GET AREA BOUNDARY returns into the left, top, right, and bottom variables, the coordinates for the rectangular viewing region of area. The coordinates are expressed in base units according to the current origin. Use the DR Base to scale function to convert from base units to scale units.

The following diagram explains the left, top, right, and bottom parameters:

Example

The following example moves the selected objects to the upper-left corner of the viewable area.

   DR GET AREA BOUNDARY (Area;$Left;$Top;$Right;$Bottom)
   DR MOVE (Area;0;$Left;$Top;0)

See Also

DR GET BOUNDARY.


4D - Documentation   Français   English   German   4D Draw 2004, Command Theme List   4D Draw 2004, Command Alphabetical List   Back   Previous   Next