This property set the units of measurement at which the graduation is displayed.
[C++Builder] imagekitcontrolname->Grad
[= TVIkUnit ]
[Delphi] imagekitcontrolname.Grad
[= TVIkUnit ]
[TVIkUnit Type]
Unit
IkInit
type
TVIkUnit = (vikNone, vikPixel, vikmm,
vikInch);
Property Value
Value | Explanation |
---|---|
vikNone | None |
vikPixel | Pixels |
vikmm | Millimeters |
vikInch | Inches |
Explanation
The Grad property sets a graduation along the left and
top of the ImageKit Control. When this property is set to vikNone,
the graduation will not be displayed. Values other than vikNone
will set the graduation units to pixels, millimeters, or inches
respectively.
Note: The Grad property does not support millimeter units so
if vikmm is set, the graduation will be displayed in centimeter
units.
Setting this value
This value can be set at design-time and run-time.
Retrieving this value
This value can be retrieved at run-time.
Differences from ImageKit7/8/9/10 ActiveX
The VCL constants have a "v". In ActiveX, the constants are ikNone, ikPixel, ikmm, and ikInch