[Visual
Basic] imagekitcontrolname.Grad
[= UnitConstants ]
[Visual
C++] [long =
]imagekitcontrolname.GetGrad()
imagekitcontrolname.SetGrad(long Val)
imagekitcontrolname.SetGrad(long Val)
Property Value
Value | Explanation |
---|---|
0 | None |
1 | Pixels |
2 | Millimeters |
3 | Inches |
In Visual Basic, it is also possible to use the following constants:(ikNone = 0, ikPixel = 1, ikmm = 2, ikInch = 3). |
Explanation
The Grad property sets a graduation along the left and
top of the ImageKit Control. When this property is set to 0, the
graduation will not be displayed. Values of 1, 2, or 3 will set the
graduation units to pixels, millimeters, or inches
respectively.
Note: The Grad property does not support millimeter units so
if 2 (millimeters) 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.