Navigation:  C/C++ Scripting Engine > Database Functions >

dbSetUserUnits

Previous pageReturn to chapter overviewNext page

This function sets the requested user-unit information for the active cell.

bar_dot

 

Synopsis

void dbSetUserUnits( int units )

 

Return Value

None.

 

Parameters

units  -  Assign the unit value (see below)

 

 

Integer values for each Unit Type:

==========================

 dbcMicron                = 0,        (micron units)

 dbcMillimeter                = 1,        (millimeter units)

 dbcCentimeter                = 2,        (centimeter units)

 dbcMeter                = 3,        (meter units)

 dbcMil                        = 4,        (mil units)

 dbcInch                        = 5,        (inch units)

 dbcNanometer                = 6,        (nanometer units)