AlignValue - property of object tvScale

Align value of the left or low edge of the scale. The meaning of this value depends on setting the AlignType property. For the alignment of the scale main ticks see the tvTicks.AlignValue property.
AlignValue As Variant
oScale.AlignValue = n
Property access for read and write. The preset value of this property is defined in the "AlignValue" configurator of this object.

Caution! The scale alignment is not functional on the Web and also limited in local application. It is not recommended to use these (obsolete). These are kept only for compatibility reasons.

Dim oScaleTime, oScaleValue
Set oScaleTime = oTView.ScaleTime
oScaleTime.AlignType = 10 'alignment to the distance multiple of the main tick.
oScaleTime.AlignValue = 1.0 'left edge of the time scale is always aligned to the scale main tick
Set oScaleValue = oTView.ScaleValue
oScaleValue.AlignType = 1 'alignment to the multiple of the absolute value
oScaleValue.AlignValue = 10 'low edge of the value scale is always aligned to the multiple of the value 10
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice