Search
Ruler.UnitDivisions Property
See Also
 



Gets or sets the number of sub-divisions per unit to display on the scale.

 Syntax

VB6  Copy Code

Public Property Get UnitDivisions() As Long
Public Property Let UnitDivisions( _
    ByVal value As Long _
)

C++  Copy Code

public:
int get_UnitDivisions ()
void put_UnitDivisions (
    int value
)

 Property Value

An integer value specifying the number of minor ticks drawn per unit. The default value is 10.

 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