DR SET RULER

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 SET RULER (area; baseU; scaleU; baseV; scaleV; divisions)

ParameterTypeDescription
areaLongint4D Draw area
baseUIntegerBase unit
scaleUIntegerScale unit
baseVRealBase value
scaleVRealScale value
divisionsIntegerNumber of minor divisions

Description

The command DR SET RULER changes the basic ruler setup for area according to the baseU, divisions, baseV, scaleV, and scaleU parameters.

baseU specifies the base units for area. The possible base units are inches, centimeters, or points.

scaleU specifies the scale units for area. Scale units are displayed in the Coordinates panel. scaleU can be any of the possible unit types.

baseV and scaleV specify the relationship between base units and scale units. One base unit corresponds to scaleV / baseV scale units. Divisions specifies the number of minor ruler divisions to display on screen.

See the description of DR GET RULER for a complete list of unit codes.

Example

The following example changes the ruler setup for Area to 1 inch equals 1 foot, with 8 minor ruler divisions.

   DR SET RULER (Area;1;2;1;1;8)

See Also

DR GET RULER.


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