Search
Ruler.BaseUnit Property
See Also
 



The base unit from which the ruler's unit is formed by multiplying it by UnitScale.

 Syntax

VB6  Copy Code

Public Property Get BaseUnit() As EUnit
Public Property Let BaseUnit( _
    ByVal value As EUnit _
)

C++  Copy Code

public:
EUnit get_BaseUnit ()
void put_BaseUnit (
    EUnit value
)

 Property Value

A member of the EUnit enumeration. The default value is uPixel.

 Remarks

The units displayed in ruler scales are formed by multiplying the length of a single BaseUnit by UnitScale. Depending on how much space there is to render scale labels for current zoom level, major unit ticks are drawn at either 1, 2 or 5 units, or their multiples by 10, 100 or 1000. The number of minor ticks depends on the current zoom level and UnitDivisions.

 See Also